Quote:
|
Originally Posted by NoRemorse
C is sooo much more powerful.
My only thoughts are that they need to clean up thier default code and all. IT's wierd how you can write a function and it NEVER returns from it. Also they can;t make stupid mistakes like forgetting to initialize the outputs in the auton mode, and bad firmware. When it's all polished up hopefully by next year, i think it will shine!
|
Why wait for IFI to clean up their default code? Throw it all away! There isn't much magic in the code. You just have to respect a couple calls & sequences (all noted with /*DO NOT CHANGE */) and after that you are free to party! I agree totally that the default code was warty as heck. Even the EDU default code was better structured and easier to follow. By the time I was done I saved the printf code and nothing else. Oh, I did reuse the file name "user_routines.c"...
One of the big reasons I re-wrote everything was to make sure I understood how it all worked. Sometimes it is easier to rewrite than to take the time to understand and work around someone elses choices. The down side of the rewrite is that one cannot use any of the tutorial stuff on IFI...