Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: rngd; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    5,141

    Yeah, too bad for me, I did not not read the part...

    Yeah, too bad for me, I did not not read the part about the defines
  2. Replies
    9
    Views
    5,141

    OK, I found the problem, turns out the defines...

    OK, I found the problem, turns out the defines must be in block letters. Weird that I did not get any compile errors though.
  3. Replies
    9
    Views
    5,141

    Im using PBP 2.47. I tried to change adcon1 and...

    Im using PBP 2.47. I tried to change adcon1 and add adcon0 but it still doesnt work. Is the problem in my code or is my port A burnt (I accidentally input ~10V for a short while into the Vref+ pin...
  4. Replies
    9
    Views
    5,141

    For the first code, I have a voltage regulator...

    For the first code, I have a voltage regulator giving 2.5V to AN3.

    I have tried using internal 5V Vref+ for the code below


    and i input the same 2.5V into channel 0, but I cannot get portd.0...
  5. Replies
    9
    Views
    5,141

    Hi jumper, these are my settings for ADC ...

    Hi jumper, these are my settings for ADC

    define OSC 20
    define adc_bits 10 'define number of bits in result
    define adc_clock 3 'clock source3=RC
    define adc_sampleus 50 'set sampling...
  6. Replies
    9
    Views
    5,141

    Analog port newbie questions

    Hi guys,

    Im having trouble using the analog port. Regarding the analog port A, is it supposed to output high (approx 4.8V) when its not connected to anything ? I have set trisa=%111111.

    Ive...
  7. Replies
    8
    Views
    6,947

    OK, so I guess its probably not dead then. Thanks.

    OK, so I guess its probably not dead then. Thanks.
  8. Replies
    8
    Views
    6,947

    How do I know if a PIC is dead ?

    Hi,

    How do you guys test to see if a PIC is burnt ? Im using a PIC16F877A with the WinPic800 programmer. The programmer can detect, read and write onto the PIC as usual.

    The reason I ask this...
  9. Replies
    5
    Views
    5,814

    Thanks Alain, but I dont think I need 'same time'...

    Thanks Alain, but I dont think I need 'same time' measurements.

    OK, so I have read the links. If my code is like this



    meaning I repeatedly check the analog input until 'diff' is less than...
  10. Replies
    5
    Views
    5,814

    Do you have any examples which use ADCIN and put...

    Do you have any examples which use ADCIN and put the input directly into the variable (see below) ? T



    Thanks ! Just to clarify, so my code below can work without problems ?


    define...
  11. Replies
    5
    Views
    5,814

    Multiple analog inputs ?

    Hi,

    Im using a PIC 16F877A. I want to read multiple analog inputs at the same time and then compare their values. I have read somewhere that after the first ADCIN, I have to delay a few...
  12. Replies
    2
    Views
    2,746

    Oh OK. Thank you very much.

    Oh OK. Thank you very much.
  13. Replies
    2
    Views
    2,746

    Simple question regarding ports

    Hi,

    Im using ADC with a PIC16F877A.

    1. Why do I see people using TRISA = %111111111 when port A is only 6 bits ?

    2. When using analog input and ADCIN, is channel 0 to 7 referring to AN0 to...
Results 1 to 13 of 13