Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: freemaster_lib mbed
Revision 2:34ce849975a0, committed 2014-11-16
- Comitter:
- JardaPajskr
- Date:
- Sun Nov 16 20:55:02 2014 +0000
- Parent:
- 1:f296a1f68aef
- 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:04:17 2014 +0000 +++ b/main.cpp Sun Nov 16 20:55:02 2014 +0000 @@ -14,6 +14,8 @@ FMSTR_TSA_TABLE_LIST_END() 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