1
0
Fork 0

Compare commits

..

4 commits

Author SHA1 Message Date
812c286beb Unity: Use UInt16.MaxValue rather than hardcoding 65536
Unity provides constants that reflect the maximum value of integer types,
use it for checking the checksum overflow rather than using 65536 directly.
This makes the intent more clear.
2023-12-16 14:01:52 +00:00
5736394e08 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:01:52 +00:00
c939764989 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:01:52 +00:00
4b10dfe917 Arduino: Use 400kHz clock fo I²C
The EEPROM in the cartridges support 'Fast I²C' at 400kHz.
Testing it out, it seems to work fine despite the high pull-ups,
so update the Arduino code to enjoy the 4x speed-up !
2023-12-16 14:01:49 +00:00

Diff content is not available