CSGDec

CSGDec SlaveAdr, Data

slaveAddressCSG I2C slave address
dataDecimal value

Model : CSG (7 Segment module)

The CSGDec command is used to print decimal values to the display.

Const Device = CB280
Set I2c 9,8          'must be used before the CSGDec command
Dim b As Integer
b=8
Do
  CSGDec 0,b    'CSGDec command
  Delay 100
  b = b + 1
  If b=0 Then b=200
Loop

Go CUBLOC home