Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,486

    Re: INC and BAS files

    I'm mostly worried about the 16F887a. The version I have supports the 877a and I would like to try compiling with it and see what happens.
  2. Replies
    7
    Views
    3,618

    Re: Stopping repeated messages

    Pure Gold! Thank you!
  3. Replies
    7
    Views
    3,618

    Re: Stopping repeated messages

    I'm still learning Picbasic but could you give me an example of setting a simple flag? Something like Zone1Alarm = True when triggered then Zone1Alarm = false when cleared.
  4. Replies
    7
    Views
    3,618

    Re: Stopping repeated messages

    Quick reply CNC. Thank you.
  5. Replies
    7
    Views
    3,618

    Re: Stopping repeated messages

    What about setting a variable in the EEPROM that is checked when sent to Alarm1 and if it is already set return to Watch? Have it monitor for pin low as well as high and clear the value in memory if...
  6. Replies
    7
    Views
    3,618

    Stopping repeated messages

    Currently the pic we are working with monitors pin status and sends a simple string out when one of them is pulled high. The problem I am having now is that the pic repeats the proper code over and...
  7. Replies
    3
    Views
    2,486

    INC and BAS files

    If we wanted to switch to a PIC that is not supported by the current PBP version, is it possible to write our own BAS and INC files for the new pic? Obviously the files can be created but is there...
  8. Replies
    7
    Views
    4,077

    Re: Watching for pin High

    Thank you for the help. So far it is still not working(I have not tried everything suggested though). I will try to add the pull down resistors as well. I already have the working PCB but I should...
  9. Replies
    7
    Views
    4,077

    Watching for pin High

    I am having trouble getting a program to run If statements when a pin goes high.

    I have a 16f628a for testing using three pins for outputs and four for inputs. Pins PortA.0 - PortA.3 are set low...
  10. Thread: HSerin

    by GatorGuy
    Replies
    3
    Views
    2,420

    Re: HSerin

    Hserin [DEC3 INC]
    HSerout ["You entered: ", INC, 10, 13]
    IF INC = 111 THEN GOTO Think
    IF INC = 222 THEN GOTO TURNON
    IF INC = 333 THEN GOTO TURNOFF

    This worked great. However, it is sending...
  11. Thread: HSerin

    by GatorGuy
    Replies
    3
    Views
    2,420

    Re: HSerin

    Anther issue I am having is that the pic will hang up after sending data now and then. It almost always hangs if I send something like 12345.
  12. Thread: HSerin

    by GatorGuy
    Replies
    3
    Views
    2,420

    HSerin

    I have a pic connected through a RS232 and the transmit seems to be working fine but I am having issues with sending the pic commands(at least its not doing what I want it to).


    :SetTxRx ...
  13. Thread: Hserin

    by GatorGuy
    Replies
    11
    Views
    6,808

    Not yet, it turned out to be a programmer error...

    Not yet, it turned out to be a programmer error that I wasn't catching. At first it was giving a valid program response then I noticed that it still had an old program on the pic I was using. ...
  14. Thread: Hserin

    by GatorGuy
    Replies
    11
    Views
    6,808

    Thank you! I will give this a try.

    Thank you! I will give this a try.
  15. Thread: Hserin

    by GatorGuy
    Replies
    11
    Views
    6,808

    When I use single letters or numbers it works...

    When I use single letters or numbers it works like a charm but I would like to use longer strings such as "A23". Anything longer then one character and I get errors. Is this a limitation of...
  16. Thread: Hserin

    by GatorGuy
    Replies
    11
    Views
    6,808

    I tired that, it gets bad expression errors on...

    I tired that, it gets bad expression errors on the if inc = "something" line.
  17. Thread: Hserin

    by GatorGuy
    Replies
    11
    Views
    6,808

    Hserin

    When using HSERIN, this code seems to receive the data okay but I can only get numbers to work when using if..then statements. I know I am just overlooking something so any help would be great.
    ...
  18. Replies
    11
    Views
    5,407

    Quick EEPROM question while I'm at it. How...

    Quick EEPROM question while I'm at it. How reliable is the EEPROM memory? I want that value to stay there once the user selects it no matter how many shutdowns/powerups there are.
  19. Replies
    11
    Views
    5,407

    Thanks for the ideas. I found an easy way now: ...

    Thanks for the ideas. I found an easy way now:

    This isnt the code but gives the idea.

    READ 0, blah
    startup:
    if blah = "1" then goto 1
    if blah = "2" then goto 2

    WRITE 0, "1" 'if it...
  20. Replies
    11
    Views
    5,407

    Blank Variable

    I need to read the first bit of the EEPROM and store that value into a variable. That part is easy, however, I need the program to do something if the EEPROM is empty such as the first time the pic...
  21. Thread: 16f505

    by GatorGuy
    Replies
    4
    Views
    2,954

    I will look at upgrading. Do you happen to work...

    I will look at upgrading. Do you happen to work for them? :)
  22. Thread: 16f505

    by GatorGuy
    Replies
    4
    Views
    2,954

    16f505

    Does anyone have the BAS/INC files for the 16F505 PIC? I just noticed that I don't have it.
  23. Replies
    5
    Views
    5,564

    Don't feel bad, I looked over it and didn't see...

    Don't feel bad, I looked over it and didn't see that either! haha.
  24. Replies
    1
    Views
    2,684

    Multiple Variables - Pins

    I would like to make one variable an alias for more then one pin. So far I have not been able to make it work. Here is an example of what I have tried. There are more but this gives the idea. ...
Results 1 to 24 of 24