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
Committer:
WiredHome
Date:
Mon Apr 04 11:33:23 2011 +0000
Revision:
5:42b456ce6f71
Parent:
1:586392c0e935
Several minor updates

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 1:586392c0e935 1 /// @file ShowTime.h contains a couple of simple time printing apis
WiredHome 1:586392c0e935 2 ///
WiredHome 1:586392c0e935 3 /// APIs for showing the time from the RTC, or from a passed in value.
WiredHome 1:586392c0e935 4 ///
WiredHome 1:586392c0e935 5 /// @note Copyright © 2011 by Smartware Computing, all rights reserved.
WiredHome 1:586392c0e935 6 /// @author David Smart
WiredHome 1:586392c0e935 7 ///
WiredHome 1:586392c0e935 8 #ifndef SHOWTIME_H
WiredHome 1:586392c0e935 9 #define SHOWTIME_H
WiredHome 0:5db287f0060b 10
WiredHome 0:5db287f0060b 11 /// ShowTime prints out the time to the serial console in a usable format
WiredHome 0:5db287f0060b 12 ///
WiredHome 0:5db287f0060b 13 /// This prints the passed in, or current time, to the console. It will
WiredHome 0:5db287f0060b 14 /// indicate the time zone offset parameters as well.
WiredHome 0:5db287f0060b 15 ///
WiredHome 1:586392c0e935 16 /// @param tValue is the non-optional time value to convert to friendly time format. If
WiredHome 0:5db287f0060b 17 /// this value is absent or zero, then it will get the system time to convert.
WiredHome 1:586392c0e935 18 /// @param hOffset is the non-optional hour offset to the local time zone
WiredHome 1:586392c0e935 19 /// @param mOffset is the non-optional minute offset to the local time zone
WiredHome 1:586392c0e935 20 /// @returns nothing
WiredHome 1:586392c0e935 21 ///
WiredHome 1:586392c0e935 22 void ShowTime(time_t tValue, int hOffset, int mOffset);
WiredHome 1:586392c0e935 23
WiredHome 1:586392c0e935 24 /// ShowTime prints out the time to the serial console in a usable format
WiredHome 1:586392c0e935 25 ///
WiredHome 1:586392c0e935 26 /// This prints the current time to the console. It will
WiredHome 1:586392c0e935 27 /// indicate the time zone offset parameters as well.
WiredHome 1:586392c0e935 28 ///
WiredHome 0:5db287f0060b 29 /// @param hOffset is the optional hour offset to the local time zone
WiredHome 0:5db287f0060b 30 /// @param mOffset is the optional minute offset to the local time zone
WiredHome 0:5db287f0060b 31 /// @returns nothing
WiredHome 0:5db287f0060b 32 ///
WiredHome 1:586392c0e935 33 void ShowTime(int hOffset=0, int mOffset=0);
WiredHome 1:586392c0e935 34
WiredHome 1:586392c0e935 35 #endif