This project is about creating an airplane instrument (such as an altimeter) for a flight simulator running on a PC. The code will read in two space-separated \"words\" containing the altitude and airspeed, with units, from a \"USBSerial port\". See my notebook page for details.
Revision 1:c97e837e48a6, committed 2011-11-26
- Comitter:
- mblokzijl
- Date:
- Sat Nov 26 14:12:16 2011 +0000
- Parent:
- 0:a2ecd3b777ac
- Commit message:
- publish2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a2ecd3b777ac -r c97e837e48a6 main.cpp --- a/main.cpp Sat Nov 26 13:41:01 2011 +0000 +++ b/main.cpp Sat Nov 26 14:12:16 2011 +0000 @@ -13,7 +13,7 @@ //initialise the LCD lcd.printf("FlightSimInstru\nready!"); - //setup some buffers - using ints crashed my mbed, not sure why + //setup some buffers - could use ints, too, but this way we can let the PC decide on the units, use floats etc. uint8_t ias[128]; uint8_t alt[128]; //clear them