Hello Unregistered ,
Hello, thank you for visiting the picbasic users forum. Just a little note to remind you that, if your have registeted for a user account and you have not logged in and posted a message, unused accounts are deleted from time to time.
We track user account usage. As part of our general maintenaince and to meet the GDPR requirments, we have elected to delete user accounts that are unused.
We define unused as:
NOT haveing ever posted a message on the forum
AND
NOT having logged in for more than 360 days.
If you find that your account is deleted, because of inactivity, you will need to contact the forum administrator to have the account re-instated. email: [email protected]
I just noticed something. It didn't wait for the 90 series to complete. Something is not always working with my OK reply. 9929
This is when I run it up to 1990, and repeat the 90 series at the bottom; always the same numbers are messed up. 9928
I changed it after my post. It was not that. I found out that even if a peripheral is disabled I had to assign a dummy port to it. (xxxPPS registers) For the SOUND FUNCTION (RC1) it was CCP2PPS (=0...
Also, you missed setting PORTC to digital mode (ANSELC), so any sound or serial functions for these pins will likely have issues.
I haven't figured out a pattern. I went all the way up to 1999 and it's always the same ones that mess up, starting with 93-99. Transmit code using only 0-99, will wait for OK signal back from RX...
There seems that you use external crystal. What frequency is this? Is led_1 defined in your program? Is the MCLR pin tied to Vdd? Is TRISD.0=0? Ioannis
Yes I am using MPLAB X 5.35 compile OK. Thank you.
So I have checked all registers concerning the Ports and Timers source clocks. Add them to my program. Here is the setup: DEFINE OSC 4 DEFINE CHAR_PACING 2000 INCLUDE "modedefs.bas" ...
You should use 5.35 version. This is the latest PBP supports and needs for the relatively new chips. Going back will not help. New chips have lots of functions and you need to do your homework...
Hi Ioannis, can tell me if I should just go back from MPLABX 5.35 to a working Pic on MPLAB8 ? Maybe there is other stuff not working normally.
Re: Losing data when extracting bytes from words
I just noticed something. It didn't wait for the 90 series to complete.
Demon Today, 03:25Something is not always working with my OK reply.
9929