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
ShowTime.h File Reference
contains a couple of simple time printing apis More...
Go to the source code of this file.
Functions | |
void | ShowTime (time_t tValue, int hOffset, int mOffset) |
ShowTime prints out the time to the serial console in a usable format. | |
void | ShowTime (int hOffset=0, int mOffset=0) |
ShowTime prints out the time to the serial console in a usable format. |
Detailed Description
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.
Definition in file ShowTime.h.
Function Documentation
void ShowTime | ( | time_t | tValue, |
int | hOffset, | ||
int | mOffset | ||
) |
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.
- Parameters:
-
tValue is the non-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. hOffset is the non-optional hour offset to the local time zone mOffset is the non-optional minute offset to the local time zone
- Returns:
- nothing
Definition at line 19 of file ShowTime.c.
void ShowTime | ( | int | hOffset = 0 , |
int | mOffset = 0 |
||
) |
ShowTime prints out the time to the serial console in a usable format.
This prints the current time to the console. It will indicate the time zone offset parameters as well.
- Parameters:
-
hOffset is the optional hour offset to the local time zone mOffset is the optional minute offset to the local time zone
- Returns:
- nothing
Definition at line 15 of file ShowTime.c.
Generated on Thu Jul 21 2022 00:25:24 by 1.7.2