It is all working good.
Type: Posts; User: missouri100; Keyword(s):
It is all working good.
I set all the analog capable pins to digital using ADCON1 as you suggested and it all works great now. I thought that disabling the A/D in ADCON0 would do it but apparently that enables or disables...
I read that about the LAT vs PORT but hadn't ran across that before so I was a little scared to mess with it. I may have something wrong in my original post about the RB6 and RB7 pins because, as...
I have some code written that drives a stepper motor based on an encoder input. Actually there are two sets of encoder/stepper running on the same PIC. Their operation is totally independent. ...
I have attempted to attach the code. I couldn't figure out how to insert it.
I have an autocad wiring diagram but haven't figured out how to attach it or insert it yet.
Sort of a humbling...
I am helping some Jr High students with a robot for science olympiad. We are using some potentiometers to control the duty cycle of a HPWM output for the drive motor. The HPWM runs an N channel...
Just in case someone is having the same issue - - we resolved it by reversing the justification of the A to D conversion value. It can be left to right for 8 bit values but for a 10 bit conversion...
below is the setup portion of some code down the the ADCIN, adval1 command. the digital value is used to turn on 10 leds as a binary representation of adval1. num is set equal to adval1 and...
What is the easiest way to change the configuration bits. I am using PBP. My application uses RA6 as a digital output. It stays on all the time. I suspect it is because it is set to "clock out"...
I would like to start a timer and then trigger events as the time increases. The timer would need to run in the background as the program executes the events. I have read and read and read and I...