once again, you are amazing!!! i know somehow that makes then digital instead of analog, but i havent ever figured out how all that works...
maybe there will be a video later on...
once again, you are amazing!!! i know somehow that makes then digital instead of analog, but i havent ever figured out how all that works...
maybe there will be a video later on...
Then I wouldn't worry about the A/D stuff right now. So far none of your project will be using analog. So you can just leave them turned off.
I think you've got "Bigger Fish to Fry".
If you do add analog stuff later, just take a look at the ADCON1 register (19-2) in the data sheet. There's a table that shows what values to use for whatever analog inputs you need. Same for CMCON.
<br>
DT
i definately have a lot of "frying" to do!!! i enjoy the challenge of trying to make this stuff work but sometimes its nice to have help from you guys that know what you are doing.
i have another small problem right now. i used if/then (i know they arent the best way to do stuff, but its easy) statements so if the distance is more than "900" then it will drive fast, if its lower than "900" then it will slow down, and if its lower than 350 it will stop and turn, then drive fast again until it senses something..
so it will drive fast, and then when it gets to under "900", it slows down, but then it stays at that speed, and it doesnt send out pings.
im almost positive that im either missing something or things arent in the right order.
im going to play around with it a little more before i "officially" ask for help. that way i can learn all the things that dont work!!!
Bookmarks