First thing that seems unusual to me is LCDOUT inside the ISR handler. That is something I would not do.
Secondly, there is a statement if freq < 68 then freq = 136 followed by freq = freq/68. As...
On the uploaded YT video one can see that the LED is not blinking stable as it should.
Can anyone spot what is wrong with the code please?
That LED is driven from the in2 output port and while...
OK - Problem solved. I went to Pololu and got help from their tech folks and they helped me figure this out. In a nutshell, it had to do with how I was creating the CTRL and TORQUE registers and...
Atom058 - 25th May 2025, 19:08Managed to test it and yes. One can count from 0 up to the last port in series for the analog inputs.
Works just fine.
Ioannis
Before dealing with the registers directly, does anyone know what is the sequence, if any, on the analog inputs of the above chip?
I mean, after RA0-RA7 that corrssponds to Analog 0 to Analog 7,...
Plus to what Henrik posted, if you want Pickit2/Pickit3 standalone software, there is also a (paid) version of the old stand alone but now developed and supported by Anobium...
Ioannis - 25th May 2025, 14:04Do you own a legal PBP compiler? Which one?
Ioannis
Strange ...
What IDE do you use and which PBP version ???
here, I tested with MPLAB 8.92 and PBP 3.1.6.4 ( last release )
Thanks for the help, however i still can't compile. i just want a HEX. i hope someone can post it. thanks
Galaxy76 - 24th May 2025, 18:19
Re: Erratic LED blinking
Thanks Jerson.
Ioannis Today, 22:28At the moment it looked OK to have the LCDout inside the regularly called ISR, as it updatetd the LCD often. If the freq is low enough 1-2 Hz, it updates every second the LCD...