Jarda Pajskr / Mbed 2 deprecated FreeMASTER_HelloWorld3

Dependencies:   freemaster_lib mbed

Files at this revision

API Documentation at this revision

Comitter:
JardaPajskr
Date:
Sun Nov 16 20:56:51 2014 +0000
Parent:
1:836c4e999046
Commit message:
added baudrate configuration

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Sep 16 09:08:18 2014 +0000
+++ b/main.cpp	Sun Nov 16 20:56:51 2014 +0000
@@ -113,6 +113,8 @@
 
 
 int main() {
+  //change baudrate to 9600
+  fm.baud(9600);
   //register global or static variables to FreeMASTER driver
   fm.TsaAddVar(FMSTR_TSA_RW_VAR_CFG(var16inc,FMSTR_TSA_UINT16));
   //register read only variable to FreeMASTER driver