C Library for mbedWSE project based single board computer for hardware peripherals
Dependents: cts_matlab_interface
Diff: mbedWSEsbc.h
- Revision:
- 1:85cd6d500385
- Parent:
- 0:dbd8b5c35d0f
- Child:
- 2:9cddaa7eee11
- Child:
- 4:1aa4a75f6885
- Child:
- 8:b74ce788d87e
--- a/mbedWSEsbc.h Fri Sep 12 16:10:10 2014 +0000 +++ b/mbedWSEsbc.h Fri Sep 12 16:25:12 2014 +0000 @@ -341,7 +341,7 @@ max522_cs = 1; } -void mbedWSEsbc_init(void){ +void mbedWSEsbcInit(unsigned long pcbaud){ led4 = 0; max1270_cs = 1; max522_cs = 1; @@ -352,7 +352,7 @@ mot_en1.period_us(50); //pc.baud(921600); //Set up serial port baud rate - pc.baud(9600); //Set up serial port baud rate + pc.baud(pcbaud); //Set up serial port baud rate xbee.baud(9600); spi.frequency(5000000);