Need help Temp and 7segment led display


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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

  2. #2
    mastero's Avatar
    mastero Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    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>
    Now i am confused here

    Will check and let you know

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Don't worry Darrel.. there's a mix of 2 PICBASIC compiler in there...
    Code:
    DEVICE 16F72
    not valid in PBP neither in PROTON

    Code:
    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
    PBP

    Code:
    Dim digit As Byte 'input variable for GETMASK subroutine
    .
    .
    .
    .
    Proton

    Code:
    PAUSE 250 ' Wait .5 second
    PBP native but now accepted by PROTON with a warning... well the last time i used it

    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.

  4. #4
    mastero's Avatar
    mastero Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Don't worry Darrel.. there's a mix of 2 PICBASIC compiler in there...
    Code:
    DEVICE 16F72
    not valid in PBP neither in PROTON

    Code:
    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
    PBP

    Code:
    Dim digit As Byte 'input variable for GETMASK subroutine
    .
    .
    .
    .
    Proton

    Code:
    PAUSE 250 ' Wait .5 second
    PBP native but now accepted by PROTON with a warning... well the last time i used it

    Now Mastero is on PROTON forum with the same code...

    Yes its proton i am using.

    Cheers
    Mastero

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts