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
Revision:
1:586392c0e935
Parent:
0:5db287f0060b
--- a/ShowTime.c	Sun Jan 16 18:30:14 2011 +0000
+++ b/ShowTime.c	Mon Jan 24 00:41:01 2011 +0000
@@ -1,13 +1,22 @@
-
+/// @file ShowTime.cpp contains a couple of simple time printing apis
+///
+/// APIs for showing the time from the RTC, or from a passed in value.
+///
+/// @note Copyright © 2011 by Smartware Computing, all rights reserved.
+/// @author David Smart
+///
 #include "mbed.h"
-
+#include "ShowTime.h"
 
 static int SignOf(const int i) {
     return (i >= 0) ? 1 : -1;
 }
 
+void ShowTime(int hOffset, int mOffset) {
+    ShowTime(0, hOffset, mOffset);
+}
 
-void ShowTime(time_t tValue=0, int hOffset=0, int mOffset=0) {
+void ShowTime(time_t tValue, int hOffset, int mOffset) {
     time_t ctTime;
     char timbuf[70];