mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-06-05 22:09:21 +02:00
WIP Browser example; WIP init API; Partial update keys API
This commit is contained in:
18
LibMultiSpacc/Examples/Clock/Clock.c
Normal file
18
LibMultiSpacc/Examples/Clock/Clock.c
Normal file
@ -0,0 +1,18 @@
|
||||
#include "../../LibMultiSpacc/MultiSpacc.h"
|
||||
|
||||
#define AppName "Clock"
|
||||
|
||||
|
||||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
// ... do setup things
|
||||
|
||||
if( !MultiSpacc_SystemClockAvailable )
|
||||
{
|
||||
// ... make the user set time in-app
|
||||
}
|
||||
|
||||
// ... retrieve system time by common API or keep a clock manually
|
||||
// ... display and update a clock
|
||||
}
|
1
LibMultiSpacc/Examples/Clock/Makefile
Normal file
1
LibMultiSpacc/Examples/Clock/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include ../Common.mk
|
Reference in New Issue
Block a user