Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21951

MSP430G2553: [Launchpad] [Energia] Serial.write doesn't work as expected

$
0
0

Part Number:MSP430G2553

Hi

 I have launchpad with msp430g2553 (MSP-EXP430G2) (rev 1.5)

I tried use Energia IDE to run few small programs, but for some reason Serial.write/Serail.print doesn't work as expected

I use Energia v18 (tried both with v17 and v18), Windows 7 64 bit, USB 3.0, necessary drivers were installed

I configured jumpers (J3) to use hardware uart

Code is something like

void setup() {
Serial.begin(9600);
}

void loop() {
Serial.write(2);
delay(1000);
}

I expect to get 2 (as 0x00000010 in binary) on PC, but I getting 224

Also, it's not always 224, but it may vary from 224 to 225 (so, I send the same number from MSP430, but get different numbers on PC)

Do you have any ideas about possible issue ?
I tried it on 2 laptops (both with usb 30)


Viewing all articles
Browse latest Browse all 21951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>