Final code for our 4180 Drawing Robot!
Dependencies: 4DGL-uLCD-SE gCodeParser mbed
VStudio2013_Sources/talk_to_mbed.cpp@2:ba15545a4ccf, 2014-04-30 (annotated)
- Committer:
- jford38
- Date:
- Wed Apr 30 16:40:10 2014 +0000
- Revision:
- 2:ba15545a4ccf
Added Visual Studio Source files and README.; Alejandro.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jford38 | 2:ba15545a4ccf | 1 | // talk_to_mbed.cpp : Defines the entry point for the console application. |
jford38 | 2:ba15545a4ccf | 2 | // |
jford38 | 2:ba15545a4ccf | 3 | |
jford38 | 2:ba15545a4ccf | 4 | #include "stdafx.h" |
jford38 | 2:ba15545a4ccf | 5 | #include "listCOM.h" |
jford38 | 2:ba15545a4ccf | 6 | #include <cstdlib> |
jford38 | 2:ba15545a4ccf | 7 | |
jford38 | 2:ba15545a4ccf | 8 | //forward declaration of function defined in the SerialIO.cpp file |
jford38 | 2:ba15545a4ccf | 9 | int openConn(); |
jford38 | 2:ba15545a4ccf | 10 | |
jford38 | 2:ba15545a4ccf | 11 | int _tmain(int argc, _TCHAR* argv[]) |
jford38 | 2:ba15545a4ccf | 12 | { |
jford38 | 2:ba15545a4ccf | 13 | listCOM(); |
jford38 | 2:ba15545a4ccf | 14 | wprintf(L"My port is %s\n", my_port); |
jford38 | 2:ba15545a4ccf | 15 | openConn(); |
jford38 | 2:ba15545a4ccf | 16 | return 0; |
jford38 | 2:ba15545a4ccf | 17 | } |