Is there a way i can have this whole process of reading the temp and displaying on the LEDs working in the background ? and the PIC is executing other commands.
Will HPWM work here as i have one ccp pin on 16f72
Thanks for your help
Mastero
Is there a way i can have this whole process of reading the temp and displaying on the LEDs working in the background ? and the PIC is executing other commands.
Will HPWM work here as i have one ccp pin on 16f72
Thanks for your help
Mastero
That's what I get for making a quick reply from work.
After looking again, it appears that your program is written for Proton.
Are you sure you're using PicBasic Pro?
If so then yes to your interrupt question.
If not, then you might want to try this forum.
http://www.picbasic.org/forum/
<br>
DT
Now i am confused hereOriginally Posted by Darrel Taylor
![]()
Will check and let you know
Don't worry Darrel.. there's a mix of 2 PICBASIC compiler in there...
not valid in PBP neither in PROTONCode:DEVICE 16F72
PBPCode:DEFINE osc 4 ' 4 MHz oscillator DEFINE ADC_BITS 8 ' Set A/D for 8-bit operation DEFINE ADC_CLOCK 1 ' Set A/D clock Fosc/8 DEFINE ADC_SAMPLEUS 50 ' Set A/D sampling time @ 50 uS
ProtonCode:Dim digit As Byte 'input variable for GETMASK subroutine . . . .
PBP native but now accepted by PROTON with a warning... well the last time i used itCode:PAUSE 250 ' Wait .5 second
Now Mastero is on PROTON forum with the same code...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Originally Posted by mister_e
Yes its proton i am using.
Cheers
Mastero
Bookmarks