Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,737

    Re: Comparator and ADC PIC12F510

    ADCON0 = 0 and CM1CON0.3 = 0 should set all pins on the 12F510 to digital IO.
  2. Replies
    4
    Views
    2,717

    Re: One of those days... config question

    Hi Len,

    ADCON1.5 = 1 will set AN2 as VREF- input and ADCON1.4 = 1 will set AN3 as VREF+ input. Also, bits 6 and 7 of ADCON1 are unimplemented so setting them to either one or zero will not...
  3. Replies
    4
    Views
    2,717

    Re: One of those days... config question

    Referring to the PIC18F2420 datasheet (page 108), the sequece that can be used to initialize portb is as below:
    CLRF PORTB
    CLRF LATB
    MOVLW 0Fh
    MOVWF ADCON1
  4. Replies
    3
    Views
    3,371

    Re: Browned off by Brown Out [BOD]

    This may or may not be relavent, buy try disabling the watchdog timer.
  5. Re: Intermittent reset of 16C6440 - possible noise issue

    A 0.1uF capacitor accross VDD and VSS is always recommended. Just make sure it is located real close to the PIC.
    Also, you can add a 5.1V zener diode in between VDD and VSS like below:

    6478
  6. Thread: divide

    by shahidali55
    Replies
    6
    Views
    4,080

    Re: divide

    Maybe you can do something like this . . .
    First, find out when x increments by 1, what is increment in frequency (call this the step size)
    Second, find out what is the frequency when x = 1 (call...
  7. Replies
    3
    Views
    3,208

    Re: Portc 16F913 problem

    On 16F913, Port C is shared with the VLCD module. To uses this as digital I/O, you will need to clear the VLCDEN bit in LCDCON register.
  8. Replies
    10
    Views
    6,929

    Re: IR decoder Sony code Help

    A nice encoder and decoder implemented in PBP (SIRC protocol).
    http://www.rentron.com/PicBasic/IR_Chips.htm
  9. Replies
    11
    Views
    50,752

    Sticky: Re: PortA Doesn't Work

    Another option to set PortA to digital automatically is Darrel's "AllDigital.pbp" . It will set the required registers on the selected device to make PortA digital and there is also a provision to...
  10. Replies
    41
    Views
    29,014

    Re: Code programming error at 0000

    Hi Dave,

    According to the datasheet, the number of erase/write cycles this chip can take is 100,000. So this cannot be as to why you are seeing the error.
    Can you check if the MCLR pin goes to...
  11. Replies
    41
    Views
    29,014

    Re: Code programming error at 0000

    Hi miragabe,

    In most programmers the MCLR pin will go to about 13 volts only during programming (for just a few seconds after clicking the program button). Are you able to program any other PIC...
  12. Re: 16F777 resetting - at seemingly random times

    Try 47ohm resistor between PWM pins and mosfet gate
  13. Replies
    16
    Views
    22,182

    Re: Holtek Decoder

    Try the HT648L. This will decode data from the HT640.
    Just make sure you select the same address as the one selected on the encoder (HT640)
  14. Replies
    36
    Views
    42,610

    Re: 4 Channel Thermostat using PID loops

    Has the incPID_mc.pbp file been modified?
    I can see several commented lines.
    Has Henrik posted this file somewhere on the forum?
  15. Replies
    17
    Views
    24,978

    Re: Electroluminescent LCD backlight

    Try this and let me know how it works out.
    5472
  16. Re: How to define OSC for vlaues below 1mhz? so you get the timing correct.

    Not possible.
    Just define OSC as 4 or something and use 32Khz crystal with LP OSC fuse (internal RC osc can also be used).
    Everything will run much S-L-O-W. Like 122.0703125 times slower if OSC is...
  17. Re: regarding Graphical-LCD called JHD240128D.

    Try this.
    It is a working PBP example.
    http://www.compsys1.com/support/PBP_Files/t6963c/

    Modify it to suit your setup.
  18. Replies
    4
    Views
    3,725

    Re: Using AND OR operators in combination

    Maybe this will work,
    until ((((mode = 1) and (button1 = buttonpress)) or ((mode = 1) and (button2 = buttonpress))) or ((mode = 2) and (button3 = buttonpress)))
    You could also use a variable to...
  19. Replies
    22
    Views
    14,272

    Re: Pwm portb in pic 16f628 in same time

    The output of the hardware PWM module in the 16F628A is on PORTB.3. Hence this the only pin you can use for the PWM output.
    Do you need exactly the same signal on 8 pins? If so, you can just take...
  20. Could it be some sort of corrosion between the...

    Could it be some sort of corrosion between the OSC1 and OSC2 pins?
    I've experienced something similar due to oxide formation between the pins . . .
  21. Replies
    24
    Views
    74,756

    Sticky: Thank You

    After searching the whole forum for an hour or so i stumbled upon this page.
    Finally i can dynamically access bits of a variable. This has really helped me a lot.
    Thank you Melanie .
  22. Replies
    3
    Views
    4,573

    rmteo,i know it can be done in 101 ways but this...

    rmteo,i know it can be done in 101 ways but this is just awesome.
    He has done it just 1Kb of ROM with no extra hardware.

    Check out AVR USB.http://www.obdev.at/products/avrusb/index.html
    It is...
  23. Replies
    3
    Views
    4,573

    Firmware only USB (16F84A)

    Yes it has been done . . ....
  24. Replies
    25
    Views
    18,714

    Not a bad idea. A clock does always comes in...

    Not a bad idea. A clock does always comes in handy.
    The last 2 digits were put upside down so as to get a colon from combining the two dot points on the oppositely placed standard 7-segment...
  25. Replies
    25
    Views
    18,714

    Thanks DT. That is one really neat breadboard....

    Thanks DT.
    That is one really neat breadboard.
    Did you notice the hourly on screen animation?


    Just after the two LOOKUP statements there is a tricky piece of code that used to blink the...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4