On 5/14/2014 12:33 AM, Marius Liebenberg wrote: > Hi Charles > If I do that will it include all the required stuff?
Yes, it should. The --preprocess switch for the comp command turns it into a regular C source code file you can compile (or edit). I used this feature a lot when starting with the comp file format, so I could figure out what was happening with things like array parameters. > I am using your i2c that you did for the reprap but I need to make it a > bit more generic. I need to break the code up into callable procedures > in order to cater for more generic i2c driven components. Some need a > lot of setting up and others dont. > I would also like to get the bit stream a bit faster if possible. I will > use a state machine at message level rather than at bit and byte level. > If possible at all. Yes, the code I wrote was intended to be run in hardware (it came from a VHDL I2C controller I wrote some time ago), and really wants to have a fast clock. It works OK if you have a fast base thread running. Let me know if you need any help understanding the code. The control logic might be a bit confusing since it started life as a hardware design and got ported to software. -- Charles Steinkuehler [email protected]
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
