1000 - Nuggle Tests
These test aspects of the Nuggle firmware in C. It is expected that these are run using the console
as many send reports. These tests are simple and are not considered comprehensive or stressful.
Many procedures, declaration elements etc. are used in many of the Nuggle test programs but
these commonly used elements are not documented above.
Face Number
Filename
Description
1000
t_hello.nug
Hello World! using WriteLn
1001
t_if.nug
Tests If, Else, IfEnd, Succ(), Pred(), Incl, Decl
1002
t_event.nug
All Event_??? sections. Default, NoDefault procedures
1003
t_for.nug
Tests For, To, DownTo, ForEnd, Break and Continue
1004
t_call.nug
Tests Call and Return
1005
t_repeat.nug
Tests Repeat, Until, Break and Continue
1006
t_while.nug
Tests While, WhileEnd, Break and Continue
1007
t_loop.nug
Tests Loop, LoopEnd, Break and Continue
1008
t_beep.nug
Beep procedure; Random function
1009
t_face.nug
Face procedure; use of NVR and Push (simple stack) to transfer data to the
new face (t_dest.nug)
1010
t_dest.nug
This is the destination face for t_face.nug so is not run directly
1011
t_func.nug
Tests Abs(), Sqrt(), Max(), Min(), Odd(), Even(), Encode(), High(), MidHigh(),
MidLow(), Low(), LoCase(), UpCase(), Random(), VerifyDate(), VerifyTime(),
GPIO(), NVR(), FacePred(), FaceSucc(), IndexOf()
1012
t_stack.nug
Tests Empty(), Pop(), Peek(), Push and Flush. Also can be used to test stack
data permanence.
1013
t_timer.nug
Tests Timer and Timer()
1014
t_jump.nug
Tests Jump and labels
1015
t_exp.nug
Expression evaluation - all operators, use of parentheses, limited precedence
checking
1016
t_tz.nug
Tests TimeZone changing clock mode, DST rule, and time zones to various
locations around the world.
1017
t_reset.nug
Reset procedure. To prevent accidentally resetting the clock the text will need
to be edited before use
1018
t_bling.nug
Colour, Transmit, GradientRGB, GradientHSV, Rainbow, Fade procedures;
FormHSV function
1019
t_colour.nug
Colour function and procedure; FormRGB, FormHSV, RGB2HSV, HSV2RGB
functions; Clear procedure
Page 41
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...