Have been working toward porting _commonCode to other systems for several years, now... For the most-part, it's been limited to AVR and Desktop PC applications, mainly 'cause that's what I had to work with (and experience with).
Some of my *much* older code was originally written exclusively for AVR, but when I revisited it the last time I intentionally spent quite a bit of time/effort abstracting it, despite the fact I was revisiting the code *for an AVR-project*. Kinda ironic, I guess, or something. So, in that process, I used OpenGL (on my desktop PC) to run the same code and sort-of simulate motion-control with pixels instead of an X-Y motor-based system. Really, quite backwards, but kinda interesting nonetheless, learned about OpenGL, came up with some uber-simple "game" ideas, and a few other things in the process.
Anyways, all that to say, motion-control, sensors, low-level serial protocols, etc. are *very* difficult to simulate without actual motors, or whatnot, and real-time low-level interfaces... Thus, more abstraction of lower-level commonThings like these via... #operation: Learn The MIPS (PIC32)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.