Hello! I'm trying to make two motors spin forward and backward to a photo-transistor reading.
However, I keep running into issues when verifying (and compiling) my code onto the PIC chip (16F18875). I've compared my code with others building the same project, and can't seem to find the issue/error. Could someone please help?
I have attached the hex file below, as well as a screenshot of my code. Thank you.
I see, thank you for letting me know! I will keep trying to find the issue. On that note, are there any obvious (or maybe not so obvious) errors in the GCB code, as shown in the screenshot? Thank you again :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Cannot see anything obvious in your source, but, I post the GCB source file, and, add #OPTION EXPLICIT to your program. That will ensure you do not have a typo.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, I apologise for the late response, I found my issue! Turns out it was in the hardware, not the software.... Thank you so much for helping anyways, I hope you have a great day.
Cheers :D
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! I'm trying to make two motors spin forward and backward to a photo-transistor reading.
However, I keep running into issues when verifying (and compiling) my code onto the PIC chip (16F18875). I've compared my code with others building the same project, and can't seem to find the issue/error. Could someone please help?
I have attached the hex file below, as well as a screenshot of my code. Thank you.
We can help with the source GCB and the ASM file not the HEX. :-)
I see, thank you for letting me know! I will keep trying to find the issue. On that note, are there any obvious (or maybe not so obvious) errors in the GCB code, as shown in the screenshot? Thank you again :)
Cannot see anything obvious in your source, but, I post the GCB source file, and, add #OPTION EXPLICIT to your program. That will ensure you do not have a typo.
Hey, I apologise for the late response, I found my issue! Turns out it was in the hardware, not the software.... Thank you so much for helping anyways, I hope you have a great day.