If you want to see these processes in action then use the sleep debug system at level 3 (set in
system.ini) or write a Nuggle program to do so.
Sleep states, 0, 1, 10, 13 and 16 are used internally and are not sent to the event handler.
If the
Default
action takes place at step 5 then the screen saver Nuggle program is run and your
program looses control. Your program is then not run again until step 3 has been reached in the
wake up cycle. The upshot of this is that your Nuggle program will only receive event steps 4 and
5.
Default Start Events
The default start events are to:
•
Clear the display E1T by turning the HT to each tube off
•
Clear all the LEDs to off i.e. black.
•
Stop any chime that is playing
•
Stop any beep that is sounding
Using
NoDefault
will allow one Nuggle program to take over the display from another without
any jitter.
Default Tick Events
The RTC ticks each second and generates an event. The value of the system variable
arg_tick
is
set as follows:
For example, a 1 day tick only occurs at 00:00:00 local time. And another example, the year tick
only occurs at 00:00:00 on 1st January each year. Time is always local time and takes into account
DST and the time zone. The clock UTC tick is not used to generate events.
Miscellaneous Procedures
Clear
Syntax: Clear
The following happens:
1. E1T tubes are blanked by turning off each tube's HT supply
2. All bling LED are set to
black
, i.e. off
3. Any beep in progress is stopped and the beep queue is emptied
4. Any chime in progress is stopped
arg_tick value
Constant
Highest tick period that has occurred
0
tick_second
1 second
1
tick_minute
1 minute
2
tick_hour
1 hour
3
tick_day
1 day
4
tick_month
1 month
Page 128
Version 1.0
Copyright Grahame Marsh/Nick Stock 2019
Содержание An E1T Timepiece
Страница 79: ...Fortress How It Works Board Schematics and Function Page 79 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 82: ...Page 82 Version 1 0 Copyright Grahame Marsh Nick Stock 2019 1 1 SAM3X8C schematic...
Страница 108: ...Page 108 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 109: ...Page 109 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 110: ...Page 110 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 120: ...E1T Data Sheet Page 120 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...