Hi, I have committed the set of changes that were needed to get the feedback example to the point where it is properly displaying serial output from the simulated AVR. My intention is to grow this so the "feedback" does something moderately interesting. I am thinking in terms of it changing the analog inputs at the request of "commands" sent over uart0.
Here is the list of changes/fixes: + simulavr.tcl.in had an incorrect calculation of the nanoseconds per CPU cycle. (Root issue) + SerialRX can now send hex values of bytes so you can receive a raw stream of data in the feedback. This prevents " " from becoming _ and lets the output look right. It is not the default mode and has to be enabled explicitly. + various spelling corrections. + removal of unnecessary casts in pin* where I noticed a variable treated as an unsigned type when everywhere it was used, it was case to signed. + pin.cpp bool() now returns true/false not 1/0. I really want to thank everyone for listening to me whine and offer suggestions. This was really hard for me to find and I don't know why. -- Joel Sherrill, Ph.D. Director of Research & Development [email protected] On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
