-
Notifications
You must be signed in to change notification settings - Fork 4
Analog Commands
Mark Grebe edited this page Aug 18, 2015
·
2 revisions
Cmd | Pin |
---|---|
0x40 | 0xXX |
Fields
Pin - Pin to read analog value of.
Cmd | Pin | Value |
---|---|---|
0x41 | 0xXX | 0xXX |
Fields
Pin - Pin to write the analog value to.
Value - 0-255
Cmd | Pin | Freq LSB | Freq MSB | Dur Byte 0 LSB | Dur Byte 1 | Dur Byte 2 | Dur Byte 3 MSB |
---|---|---|---|---|---|---|---|
0x42 | 0xXX | 0xXX | 0xXX | 0xXX | 0xXX | 0xXX | 0xXX |
Fields
Pin - Pin to play tone on.
Freq - Frequency in Hertz, 0 - 16383
Dur - Duration in Milliseconds, zero means play tone until notone command.
Cmd | Pin |
---|---|
0x43 | 0xXX |
Fields
Pin - Pin to stop playing tone on.
Cmd | Value LSB | Value MSB |
---|---|---|
0x48 | 0xXX | 0xXX |
Fields
Value - 0-1023