![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This package contains a simple test of tests for various elements of the SmartBoard hardware, which is a simple baseboard designed for easy embedding. It is able to run both a semi-automatic test suite as well as allow interactive testing.
Dependencies: EthernetNetIf NTPClient_NetServices mbed
This program is most of what you need to test your SmartBoard baseboard hardware. It provides a means to test the following:
- Two channels of CAN (with a loopback cable)
- RS-232 Ports
- Analog inputs
- PWM outputs
- Ethernet port
- Real time clock
- micro SD
- USB Host port
Diff: ShowTime.h
- Revision:
- 0:5db287f0060b
- Child:
- 1:586392c0e935
diff -r 000000000000 -r 5db287f0060b ShowTime.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ShowTime.h Sun Jan 16 18:30:14 2011 +0000 @@ -0,0 +1,13 @@ + +/// ShowTime prints out the time to the serial console in a usable format +/// +/// This prints the passed in, or current time, to the console. It will +/// indicate the time zone offset parameters as well. +/// +/// @param tValue is the optional time value to convert to friendly time format. If +/// this value is absent or zero, then it will get the system time to convert. +/// @param hOffset is the optional hour offset to the local time zone +/// @param mOffset is the optional minute offset to the local time zone +/// @returns nothing +/// +void ShowTime(time_t tValue=0, int hOffset=0, int mOffset=0);