Quote:
Originally Posted by Tom Bottiglieri
It's all the same stuff.. EasyC is just an abstraction layer for WPILib, and WPILib is just an abstraction layer for the low level stuff. Either way, it all boils down to the communication between the uP and mP, and what all of your low level outputs and inputs are.
|
Well, that means I probably cannot emulate WPILib or EasyC unless I get source for the libraries since creating the emulator requires overriding the low level outputs and inputs. It appears that the way Rob Bayer's emulator works is to modify the headers of two .c files that use low level I/O stuff so it uses the "hacked" I/O overrides instead when compiled with that code. Then running the main becomes a breeze since the variables are just stored in the PC memory. The hacked I/O files may even redirect back to the emulator. Of course, I have yet to understand how the hacks are actually carried out, but I will learn in due time. Besides, I need to make one for the serial port eventually...