GPIO
Syntax:
GPIO
(
pin
)
Returns the boolean value of the GPIO
pin
as follows:
9.
Procedures
Display
Syntax:
Display
tube, value
This is a synonym for the Fortress E1T procedure and function and can be used where
possible to write display independent Nuggle.
E1T
Syntax:
E1T
tube, value
Move the glow on the
tube
to the position value. The E1T tubes are number 0 (leftmost) to
9 (rightmost). A value outside this range will turn the HT to the tube off and the tube
position becomes undefined. A value of 10 is recommended for this function.
Flyback
Syntax:
Flyback
state
Turns the E1T HT supply to
state
. Where
state
is true (1) or off (0).
GPIO
Syntax:
GPIO
pin, value
This sets the state of a GPIO
pin
to logical 1 if
value
is true and logical 0 if
value
is false.
The available values of
pin
and the GPIO port and pin controlled are as follows:
Heater
Syntax:
Heater
state
Turns the E1T Heater supply to state. Where state is on (1) or off (0).
Pin
Location
SAM3X8C port and pin
0
Pin 2 on connector X1
Port A Pin 10
1
Pin 3 on connector X1
Port A Pin 11
Pin
Location
SAM3X8C port and pin
0
Pin 2 on connector X1
Port A Pin 10
1
Pin 3 on connector X1
Port A Pin 11
Page 123
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...