Project:Infotec displays: Difference between revisions

From London Hackspace Wiki

No edit summary
Line 49: Line 49:
All except inbuf are in hex.  Use <code>0</code> for inflags, <code>1</code> for sendresponse, <code>0</code> for serialtask, and <code>cc</code> to ignore the checksum
All except inbuf are in hex.  Use <code>0</code> for inflags, <code>1</code> for sendresponse, <code>0</code> for serialtask, and <code>cc</code> to ignore the checksum


=== Get version ===
=== 0x0 Set text ===
Send:
{| class="wikitable"
>0#1#F5#00#0#0#cc<
! colspan=2 | Input
|-
! serialtask (display?)
| 0
|-
! buf
| message
|-
! arg0
|
* 0 = left
* 1 = centre
|-
! arg1
| ?
|-
! colspan=2 | Output
|}


Response:
  >0#1#0#0#Hello##cc<
  >00#90#05#04,07#1D<


=== Get date ===
=== 0xF4 Get date ===
Send:
{| class="wikitable"
>0#1#F4#00#0#0#cc<
! colspan=2 | Input
|-
! buf
|
|-
! colspan=2 | Output
|-
! arg0
| date
|-
! arg1
| month
|-
! arg2
| year
|}


Response:
>0#1#F4####cc<
  >00#80#01#19,05,0C#49<
  >00#80#01#1E,05,0A#37<
 
=== 0xF5 Get version ===
{| class="wikitable"
! colspan=2 | Input
|-
! buf
| none
|-
! colspan=2 | Output
|-
! flags
| ?
|-
! arg0
| Major version
|-
! arg1
| Minor version
|}
 
>0#1#F5####cc<
>00#80#01#04,07#18<


== Firmware ==
== Firmware ==
3,313

edits