CSGXPut slaveAddress, digit, data
|slaveAddress||CSG I2C slave address|
|digit||Digit (0 through 3)|
|data||Bit array with each position corresponding to an LED segment|
Model : CSG (7 Segment module)
This command turns on the LED at the specified position. When displaying anything other than numbers, this command can be used to control each LED segment individually.
To print an “L”, positions D, E, and F must be turned on, corresponding to but positions 3, 4, and 5. Therefore the bit value would be 0011 1000, which in hexadecimal is &H38.
CSGXPut 0, 0, &H38 'Display an 'L'