8.
Adding or changing Nuggle programs
Nuggle is a simple programming language used by Sgitheach
clocks. It describes how the display devices such as VFD, CRT,
Dekatron or E1T tubes, bling LEDs, chime system will be used.
The Fortress E1T clock comes with a large number of Nuggle
files available so you can review these to see actual Nuggle
source text examples.
All Nuggle programs reside in the
nuggle
folder and always
have the extension .
nug
. They are simple text files.
If you edit and save an existing Nuggle file then, when that face
is shown again, the clock firmware will see that the date stamp
on the file is newer than before so it will process the file and
display the modified face.
If you create a file with a new filename (for example by editing
an existing file and then saving the modified file into a new
filename) then you now need to assign an index number to the
file as Nuggle files are selected to run by a number and not the
filename directly. To do this, you edit
nuggle.ini
and in the
[faces] section you create a new entry with an unused index and your filename (the instructions
are with
nuggle.ini
. Next, you force the clock to reload the indices by using the
NUGL
menu
command (or power cycling the clock or pressing the reset button). The newly indexed file
should be selectable using the IR handset or the rotary encoder.
Whilst this looks like a complex process at first sight, remember that you have created or
modified a clock face without having to resort to modifying the clock source code, compiling the
C and burning the SAM3X8C.
Have fun with Nuggle! To help you, there is a generalised, clock independent Nuggle manual, a
manual specific for the Fortress E1T Clock (see Page 110) and a Nuggle cookbook.
In preparation….
Page 64
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...