My potentiometer is connect between +5v and gnd.
I can not understood why I had some troubles because :
1. I used AN0 or AN1 and HPWM(1-4) worked perfectly
2. I used AN6 , so HPWM2 worked perfectly(AN6 analog input ok) ! , but when I added HPWM1 , the HPWM2 not worked because I had not a analog input. I suposed that exist a conflict between AN6 and HPWM1.
Now, HPWM1 work . AN6 work but here is some trouble, I have analog input but after some time toggle itself on digital input !
Now I read carefully in datasheet and I'll post the code.
Its clear that I'm begginer in pbp, all my projects are for hobby. Richard, you explained me step by step and I start to understand some "secrets" about settings. Thank you very much for patience!!
Bookmarks