ftsrg / BME-MODES3

Model-based Demonstrator for Smart and Safe Systems
https://inf.mit.bme.hu/research/projects/modes3
16 stars 8 forks source link

Prepare the SOC Arduino #52

Closed hegyibalint closed 7 years ago

hegyibalint commented 7 years ago

To test the implementation, we need the Arduino which can act as a gateway between S88 and the Raspberry Pi.

This is a child issue of #45

zsoltmazlo commented 7 years ago

We decided to send the raw binary data over UART as a byte stream with the format below: [header] [data3 2 1 0] [data 3 2 1 0 repeated] [header]...

For exp: [0xFF...0xFF (7 times) 0xAA] [0 0 10 0] [0 0 10 0] which means that only segment number 13 is occupied.