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]
Hi, Roger May be you'd better ask to Charles here : https://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/pbp3-picbasic-pro-3-0/page46 but don't rejoice too quickly... Alain
Great ! just remember the processor does what you tell it ... and ONLY what you tell it ! ( thanks to God, PBP doesn't show too many bugs :wink: ) so, it's always you to set ALL the parameters,...
I'm starting a new series, with improved technique, and more detail on each step. - First attempt at OBS STUDIO. - 1 take, no edits. I made only 2 minor mistakes that I could see. ...
Greetings all, first of all, thank you so much for all your help. I tried moving the port settings before the Tris statement like you recommended and it worked! ...
Hi, Tumbleweed the funny thing is I had added the port setting lines right before the TRIS statements for a run With MPLAB 8.92 sim ... ...
The important part is to set the PORT (or LAT) registers BEFORE setting the TRIS registers to outputs. Otherwise the pins will be in output mode for a period of time but the outputs aren't specified.
did you simply try to add : INIT: PORTA=%00000000 PORTB=%00000000 PORTC=%00000000
before you go to too much trouble try what henrik suggests clear all output ports before setting the tris registers and lose that delay in between
Hi Richard, thanks for the help. Regarding the drawing...will try to get it and post here. In the meantime here are the answers: The LEDs are connected to ground
So, looking at your code....effectively it boils down to TRISA = %00000000 ' This enables 23 of 24 output drivers, pins goes to whatever state PORT/LAT says TRISB = %00100000 TRISC =...
Re: Latest PIC support - PIC 18FxxQ20 family
Hi, Roger
Acetronics2 Today, 18:56May be you'd better ask to Charles here : https://support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/pbp3-picbasic-pro-3-0/page46
but don't rejoice too quickly...
Alain