general
¶
Global constants.
Attributes:
| Name | Type | Description |
|---|---|---|
PIN_ADC |
int
|
Pin number of the adc pin (not physically the same pin as the button!) |
PIN_BEEPER |
int
|
Pin number of the beeper. |
PIN_BUTTON |
int
|
Pin number of the button in the rotary encoder. |
PIN_ENCODER_TRACK_1 |
int
|
Pin number of the first track of the encoder. |
PIN_ENCODER_TRACK_2 |
int
|
Pin number of the second track of the encoder. |
PIN_RGB_STRIP |
int
|
Pin number of the rgb strip. |
PIN_RX |
int
|
Pin number of the RX port. |
PIN_SCL |
int
|
Pin number of the scl port for i2c. |
PIN_SDA |
int
|
Pin number of the sda port for i2c. |
PIN_TX |
int
|
Pin number of the TX port. |
PIN_ADC
module-attribute
¶
PIN_ADC: int = const(0)
Pin number of the adc pin (not physically the same pin as the button!)
PIN_BUTTON
module-attribute
¶
PIN_BUTTON: int = const(0)
Pin number of the button in the rotary encoder.
PIN_ENCODER_TRACK_1
module-attribute
¶
PIN_ENCODER_TRACK_1: int = const(12)
Pin number of the first track of the encoder.