This has the ADC turned off.
ANSEL = 0
Try
ANSEL = %00001000
This has the ADC turned off.
ANSEL = 0
Try
ANSEL = %00001000
Dave
Always wear safety glasses while programming.
Hi, Dave
did you notice the generator will only output 489 to 512 Hz ???
... RTFM ???
Yes Ken, you should read your manual, HPWM section ( or the Pic Datasheet ! )
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Yup, and the OP said it was going from 500 to... So that part sounds about right. Does he want something slower?did you notice the generator will only output 489 to 512 Hz ???
Dave
Always wear safety glasses while programming.
Argrr, ya, I read the text but I skipped the table, But I need lower frequency then 489Hz, Actually I need between 10 to 300Hz, I think I am better off with what I am using now, a 555 timer.
K
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
HI,
I read page 83 concerning compare mode... still have no idea how you could get 2hz .
The manual says even in PWM mode we cant get lower then 5ms long witch is about 200hz...
K
Bookmarks