Download What is CUBLOC?

Transcript
The possible Baud Rate settings are as follows:
2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 76800,
115200, 230400.
The recommended buffer size is around 50 to 128. If the send buffer size
too small, data will not be displayed correctly. If the send buffer size is too
big, it will take up that much data memory space.
SET DISPLAY 0,1,19200,50 ‘ Set Baud rate to 19200 and
‘ send buffer to 50..
SET DISPLAY command can only be used once at the beginning of the
program.
Method = 0 (Use CuNET)
CuNET is a type of I2C protocol that is part of CUBLOC.
For CB220 , use I/O Port 8 (Clock) and Port 9 (Data).
SOUT
1
24
VIN
SIN
ATN
2
23
3
22
VSS
RES
VSS
21
VDD
P0
4
5
20
P15
P1
6
19
P14
P2
7
18
P13
P3
8
17
P12
P4
9
16
P11
P5
10
15
P10
P6
11
14
P9
P7
12
13
P8
SDA
SCL
CuNET can be used with displays that support it. CuNET does not used
Baud Rate Settings, it uses slave address settings instead.
SET DISPLAY 2,0,1,50 ‘CLCD, Slave address of 1, Send buffer of 50
Although multiple devices can be connected to the I2c, for displays, only
ONE device may be attached.
252