Closed dmcomm closed 2 months ago
This isn't right, we should be using wait_for_length_no_more
like for modulated
. Battles won't work how it is now.
https://github.com/dmcomm/dmcomm-python/blob/74f345d5637404bdfd561fbcb8750e9052bedbf9/lib/dmcomm/hardware/ic.py#L75
We can capture the large block of battle data, but the Xros Loader does not seem to be responding to the equivalent DigiROM. And this is indeed too much RAM: might need a receiver PIO. Probably don't share the communicator class with iC after all.
Receive decode was too slow, so needed to decode as we went along rather than after receiving everything. Also saves RAM.
And we did need the separate TX PIO.
Using OPL551-OC on GP14 with a 1K pullup, for both iC and Xros Loader.
Trading Tylomon for another Tylomon: