PinBrick - Arduino - Communication Protocol
( Work in Progress )Serial Over USB ( Standard Arduino Serial/USB )
- 115200 Bps
- 8 Data Bits
- 1 Stop Bit
- 1 Start Bit
Bases on Simple Byte/Char Commands ( NPR Notation )
Common Mode Commands (Valid on All Modes )
0..9 Digits Numeric Constant on TOS ( Top of Stack )
( Byte Unsigned Values )
. (Dot)
_ (Underline)
, (Comma)
- (Minus Sign) Subtract TOS-2OS Result on TOS
+ (Add Sign) Add TOS+2OS Result on TOS
* Multiply TOS & 2OS Result on TOS
/ Divide TOS / 2OS Result on TOS
= (Equal Sign)
>
<
# Select (TOS) as the Current Device
% Select (TOS) as the Current Entry on Selected Device
$ Select (TOS) as the Current Index on Selected Entry
&
^
|
\
˜
`
@
!
? Print TOS ( as byte unsigned value )
:
;
''
'
[ Enter on SYSTEM MODE
] Back to DEVICE MODE
( Entrer on GRID MODE
) Back to DEVICE MODE
{ Enter on MATRIX MODE
} Back to DEVICE MODE