C Library for mbedWSE project based single board computer for hardware peripherals
Fork of mbedWSEsbc by
Diff: mbedWSEsbc.h
- Revision:
- 2:9cddaa7eee11
- Parent:
- 1:85cd6d500385
- Child:
- 3:103665166deb
diff -r 85cd6d500385 -r 9cddaa7eee11 mbedWSEsbc.h --- a/mbedWSEsbc.h Fri Sep 12 16:25:12 2014 +0000 +++ b/mbedWSEsbc.h Thu Sep 18 15:20:09 2014 +0000 @@ -342,6 +342,9 @@ } void mbedWSEsbcInit(unsigned long pcbaud){ + led1 = 0; + led2 = 0; + led3 = 0; led4 = 0; max1270_cs = 1; max522_cs = 1; @@ -351,8 +354,9 @@ wait(.2); //delay at beginning for voltage settle purposes mot_en1.period_us(50); - //pc.baud(921600); //Set up serial port baud rate - pc.baud(pcbaud); //Set up serial port baud rate + + pc.baud(pcbaud); //Set up serial port baud rate + pc.printf("\r\n"); //Initialize with a Carriage Return and Newline xbee.baud(9600); spi.frequency(5000000);