Jump to content
43oh

issue with hyperterminal


Recommended Posts

well m new to energia....

my serial monitor shows some garbage output for code(given below)on selecting msp430g2553.

 

int p=15;

void setup()

{

 Serial.begin(9600);

 pinMode(pin,INPUT);

}

void loop()

{

 Serial.println(digitalRead(pin));

 delay(1000);

}

 

this code should display 0's and 1's on serial monitor ,it will display 0's when switch is unpressed else 1's when pressed......

earlier i had selected the wrong board for which it was displaying no display on serial monitor...

Link to post
Share on other sites
i tried printing simple array of characters....but same result garbage characters....

tried changing the baud rate....configured my jumpers to the required position....

and by serial console if u mean serial monitor ..yes i have tried it....even external hyperterminal i have tried....

my position of UART jumpers are as shown in the figure for mspg2553  rev 1.5 of the link.https://github.com/energia/Energia/wiki/Hardware....

but no good...
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...