It's been a while since I last posted so I figured I'd update my progress. I took a short hiatus to ease my frustration after the memory setbacks. Since picking things up again, I've adapted an Arduino/Python library to send commands and results over serial. I did end up strippingf out some unnecessary functionality and made the protocol a bit leaner.
So far I'm getting 4ms per update...not great given how many input/outputs there are. I added in a subscription and aggregation command, but I haven't tested to see the speed difference yet. I might also be able to update different types of hardware with different frequencies.
Meanwhile, I've also adapted most of the C classes to Python and pin, joy and mod are working well so far. With a bit more work on the main KAPCOM class, I might be nearly back to where I was functionality-wise.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.