Function |
Data |
Ack |
PP (Port) |
(PP| Port: 1b | Type: 1b : Value: 8b) |
|
w |
PPnw: Write Port A (PPAw:aaaixoxx), n: ABC, Note: x:ignored, a:analog, i:input, o:output, 0:low, 1:high (PPAw:aaaixoxx): A0-A2:analog, A3:in, A5:out |
# |
|
|
|
ACM (Analog Stream)
|
(ACM | Type: 1b : Value: 8b) |
|
e |
Enable Continuous & Multiple ADC Channel: (ACMe:abcdei), a: RA0, b: RA1, c: RA2, d: RA3, e: RA5, i: RB2 |
# |
d |
Disable Continuous & Multiple ADC Channel: (ACMd) |
# |
|
|
|
PCM (Digital Stream) |
(ACM | Type: 1b : Value: 8b) |
|
e |
Enable Continuous & Multiple Digital Channel: (PCMe) |
# |
d |
Disable Continuous & Multiple Digital Channel: (PCMd) |
# |
|
|
|
TT (Timer) |
(TT| Channel: 1b | Mode: 1b : Value: 4b) |
|
t |
Set Timer0, 100mSec period: (TT0t:100m), m: mili |
# |
d |
Disable Timer0: (TT0d) |
# |
r |
Continuous reading: (TT0r), repeat every 5 seconds iCP12 will reply with the data for every period: Analog (Dec): <TT0r:a1024|b0123|c0222|d0123|e0552|i0231> Digital (Hex): <TT0r:AxxFF|Bxx99|Cxx12>, Port A, B, C |
# |