nakagawa kit emurator (add CR) BaudRate 115200,p20
Dependencies: mbed NetServicesMin
Revision 4:9daa308155d6, committed 2012-04-17
- Comitter:
- recotana
- Date:
- Tue Apr 17 04:14:27 2012 +0000
- Parent:
- 3:51e64f5e42b8
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 17 03:38:00 2012 +0000 +++ b/main.cpp Tue Apr 17 04:14:27 2012 +0000 @@ -16,7 +16,7 @@ uint8_t *d=(uint8_t *)&data->ftype; - for(uint8_t i=0 ; i<67 ; i++){ + for(uint8_t i=0 ; i<(sizeof(Frame)+sizeof(Ftype)) ; i++){ if(d[i]==0x0A) pc.putc(0x0D); //add CR LF pc.putc(d[i]);