I have not yet had to fall back on ASM code.
I did discover:
1. My PIC was resetting because of regressive subroutine calls. Changing a couple GOSUB's to GOTO's solved that.
2. My car was not being driven smoothly because of occasional zero responses from the SRF05's (or at least one of the SF05's). Implementing a - check again if the sensor says zero - routine after polling the sonar sensors smoothed things out.
I did notice that adding an IF THEN statement to the PBP code increased the size of the HEX code considerably. I still feel I need to understand the two compile processes.![]()
Bookmarks