1
0
Fork 0
Commit graph

3 commits

Author SHA1 Message Date
aa610666bd Unity: Fix hardcoded page size in ReceiveSerialData()
Remove the hardocded '128' that checked for a full page being received
and replace it with the appropriate constant.
2023-12-16 14:10:28 +00:00
8030bebfb4 Unity: Add delay after serial connection
The Arduino will block if sent data too quickly after connection.
Add a new coroutine to force waiting for 1s+ and update the UI
accordingly.

Update some comments throughout.
2023-12-16 14:10:28 +00:00
d74928fd64 Unity: Add Arduino handling code
Add the full working Arduino code for cart loading.
Handle the UI elements, connection to the Arduino
and loading the cartridge over serial.

This code should not be shared with students as it
is the full working code for the communication.
2023-12-16 14:01:28 +00:00