Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: paul borgmeier; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    5,889

    I am not familiar with the pic18f24k20 nor does...

    I am not familiar with the pic18f24k20 nor does my version of PBP support it.

    Perhaps someone else knows the order of the ports for this PIC. I could not readily put my hands on the datasheet -...
  2. Replies
    2
    Views
    3,542

    View Post

    I am not sure why you have these two lines – they will always be false since they follow your HIGH and LOW statements ... delete them (in my opinion)



    if outputline0=0 then outputline1=1 (these...
  3. ... lots of timer examples in the Example Code...

    ... lots of timer examples in the Example Code Section. See these for example:

    http://www.picbasic.co.uk/forum/showthread.php?t=2129
    http://www.picbasic.co.uk/forum/showthread.php?t=190...
  4. Replies
    9
    Views
    5,889

    this might help...

    this might help
    http://www.picbasic.co.uk/forum/showthread.php?t=4074
  5. Replies
    4
    Views
    5,466

    In PBP, the 10F202 uses PBPPIC12.RAM, which...

    In PBP, the 10F202 uses PBPPIC12.RAM, which requests 19 bytes of RAM for PBP system use. The 10F200 only has 16 total bytes of RAM available so it looks like it is a no go with PBP unless you want...
  6. see post #3 here for possible help ...

    see post #3 here for possible help

    http://www.picbasic.co.uk/forum/showthread.php?p=62459#post62459
  7. See Melanie's excellent post here ...

    See Melanie's excellent post here

    http://list.picbasic.com/forum/messages/3064/3607.html?

    it is for a different processor but converting to the 877a should be straight forward. Reply if you...
  8. The 18F family also allows one to set some...

    The 18F family also allows one to set some interrupts as high priority and some as low priority. If a high priority interrupt occurs, it will complete the High ISR and exit before servicing...
  9. The code provided in this thread could easily be...

    The code provided in this thread could easily be changed to meet your needs.

    http://www.picbasic.co.uk/forum/showthread.php?t=2129
  10. Replies
    8
    Views
    4,965

    I do not know if your Configs are correct but you...

    I do not know if your Configs are correct but you have additional problems ...

    On the 877A

    High 0

    sets PortB Pin 0 high, not PortC, Pin 0. See manual section 4.11 and then implement...
  11. EDIT: too late - looks like it was solved

    EDIT: too late - looks like it was solved
  12. Replies
    2
    Views
    3,288

    It's a Warning and not an Error ...

    It's a Warning and not an Error

    http://www.picbasic.co.uk/forum/showthread.php?t=555

    http://www.picbasic.co.uk/forum/showthread.php?t=40
  13. Replies
    11
    Views
    5,377

    >>If no load works then add more decoupler /...

    >>If no load works then add more decoupler / filter caps.

    Sounds like it worked - do you have electrolytic decoupler and ceramic filter caps? Is your power clean? Have you reduced ground loops?...
  14. Replies
    11
    Views
    5,377

    another thought ... try removing the LEDs and...

    another thought ...

    try removing the LEDs and watching the pins with a scope or DMM. If no load works then add more decoupler / filter caps.

    just my 1 cent
  15. Replies
    3
    Views
    3,060

    PORTA.0 = 1 Pause 1000 PORTA.3 = 1 You...

    PORTA.0 = 1
    Pause 1000
    PORTA.3 = 1


    You need to set the ports as digital ... add

    ADCON1 = $0F

    I would also suggest using the latches instead of setting the ports directly (but not the...
  16. Replies
    11
    Views
    11,075

    Hi Jeff, I have not used Pic Basic Compiler...

    Hi Jeff,

    I have not used Pic Basic Compiler for almost 10 years but here are some comments and items to check/change to get you going.


    SYMBOL ANSEL = $9F '$19 IS ANSEL REGISTER
    POKE ANSEL,...
  17. Replies
    2
    Views
    18,183

    >>DIAGNBYTE = NOT DIAGNBYTE You have used a...

    >>DIAGNBYTE = NOT DIAGNBYTE

    You have used a logical NOT, which returns 1 or 0. You need to use a bitwise NOT. Try

    DIAGNBYTE = ~ DIAGNBYTE
  18. Replies
    10
    Views
    5,775

    Runtimer: TMR0ON = 1 TMR0IF = 0 IF TMR0IF...

    Runtimer:

    TMR0ON = 1
    TMR0IF = 0

    IF TMR0IF = 1 THEN HIGH PORTB.4

    GOTO Main

    Your polling technique has holes. When you enter Runtimer, you clear the flag and turn the timer on. If it...
  19. Replies
    4
    Views
    4,055

    The math is working great - you overflowed (went...

    The math is working great - you overflowed (went beyond 16 bits)

    12*10000 = 120000 = $1D4C0 (hex)
    keeping the lower 16 bits = $D4C0 = 54464

    clear as mud?
  20. Replies
    10
    Views
    7,906

    Something to try .... remove (carefully...

    Something to try ....
    remove (carefully unsolder?) the LED and see if pin goes high low high with a meter. If this works then reconnect up your LED and add decoupler Cap close to Vdd (10uF or...
  21. Replies
    2
    Views
    3,156

    Sounds like your ASM code starts in column 1 ......

    Sounds like your ASM code starts in column 1 ... indent your code a space or two and see what happens



    ; FOR EXAMPLE

    movwf PORTA ; will not work

    movwf PORTA ; will work
  22. Short on time but this might get you started ...

    Short on time but this might get you started

    Rewrite this
    R2=10.000/[(5000/ad_res)-1]
    to look like this
    R2=10.000*ad_res/[5000-ad_res]

    calculate the denominator and keep (5000 - ad_res)...
  23. Replies
    3
    Views
    2,964

    This should get you started (an oldie but a...

    This should get you started (an oldie but a goodie - not Melanie ... her post)

    http://list.picbasic.com/forum/messages/3064/3607.html?
  24. Thread: Hello

    by paul borgmeier
    Replies
    6
    Views
    4,021

    View Post

    google "Hi everyone. How’s everyone doing? Good day!" and you will understand (with the quotes)
  25. Replies
    3
    Views
    3,472

    1 - What are you using for the power supply? 2...

    1 - What are you using for the power supply?

    2 - Do you have decoupling cap close to VDD (to GND)?
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4