Repository for practical exercices where students load PICO-8 cartridges to Unity from an EEPROM.
Teo-CD
a18c37daa1
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. |
||
---|---|---|
Arduino | ||
Assets | ||
Packages | ||
ProjectSettings | ||
UIElementsSchema | ||
.gitignore | ||
Assembly-CSharp.csproj | ||
CartCom.sln | ||
LICENSE | ||
README.md |
CartCom
This is a Unity project that communicates with an Arduino board to transfer PICO-8 cartridges between the computer and an EEPROM.
It allows connecting to a serial port from the interface, load and write to a cartridge and start a PICO-8 console.
Thus, it is necessary to provide the path to a PICO-8 executable in the inspector for the full functionality.
The goal here is for students to fill in the blanks regarding the communication between the Arduino and the EEPROM, and the Arduino and Unity.
The corresponding Arduino code is in :
- Arduino/SendCart, for reading from the EEPROM and sending cartridges to Unity,
- Arduino/ReceiveCart, for receiving cartridges from Unity and writing to the EEPROM.
It has been tested on Unity 2022.3.9f1.