Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Nevermind. I found what I needed: HSERIN...

    Nevermind. I found what I needed:

    HSERIN 10000, main, [DEC2 MyVar]
  2. How to convert a HSERIN string to a hex value?

    This is probably an obvious newbie question, but my Google-Fu is failing me.

    I have a PIC connected to a PC via a serial interface. When I type "42" on my keyboard and press enter, I would like...
  3. Replies
    6
    Views
    8,752

    Proton requires a USB dongle (hardware key). PBP...

    Proton requires a USB dongle (hardware key). PBP doesn't even have a serial number. For that reason alone I didn't even bother downloading the eval copy of Proton before deciding to purchase PBP.
  4. Replies
    2
    Views
    3,099

    Thanks for the reply. No, version 2.5c. But I...

    Thanks for the reply. No, version 2.5c. But I just purchased it directly from ME Labs about two weeks ago. When was 2.6 released?

    Edit: My receipt shows 2.6, but I was shipped 2.5c. I will...
  5. Replies
    2
    Views
    3,099

    16F1936 doesn't seem to be supported?

    According to the PBP page on ME Lab's website, the 16F1936 is supported. However, when I attempt to compile (via Microcode Studio) I get

    Error[132] c:\pbp\16f1936.inc 18 : Unknown processor...
  6. Replies
    16
    Views
    11,359

    Anand, Thank you for taking the time to sketch...

    Anand,

    Thank you for taking the time to sketch out your schematics! It's a big help.


    Alain,

    I'd have no idea how to implement something like that (I'm a software guy who's muddling...
  7. Replies
    16
    Views
    11,359

    Arrati, thanks for the idea, but I'll need an...

    Arrati, thanks for the idea, but I'll need an electrical solution rather than mechanical in this application.

    Anand, any chance you could post an example circuit?
  8. Replies
    16
    Views
    11,359

    No problem. I don't imagine that you have a...

    No problem. I don't imagine that you have a schematic of your circuit? Could it be adapted to use the integrated comparator onboard the pic?
  9. Problems concurrently using digital in and digital out on PORTA.

    I have a switch hooked to PORTA.0 and a LED on PORTA.1 on a PIC16F688. All I am trying to do is read the value of the switch and then set the LED high or low, accordingly. Here is my code:


    '...
  10. Replies
    16
    Views
    11,359

    Thanks for the reply. It's just ordinary tap...

    Thanks for the reply. It's just ordinary tap water; no worries about explosions. ;-)

    I was hoping that the simple solution would work. Can you explain your circuit a bit more? Are you using a...
  11. Replies
    16
    Views
    11,359

    Best choice for detecting water?

    All I want to do is create a sensor that beeps when water bridges a pair of contacts. However, I'm an electronics newbie and don't know how to evaluate which is the best method. The sensor will be...
  12. That's what I get for attempting binary math...

    That's what I get for attempting binary math after my bedtime. lol. Thanks for the help!
  13. Going nuts here with a PIC16F688. What registers am I missing?

    All I want to do is set every IO pin on the chip to digital out.


    ADCON0 = 0 ' no analog >< digital conversions
    ADCON1 = 0 ' no analog >< digital conversions
    ANSEL = 0 ' no...
  14. Replies
    150
    Views
    223,965

    Assembler error

    I'm having problems compiling the sample code. Would you have any suggestions?


    ;----[ MIBAM Setup ]--------------------------------------------------------
    BAM_COUNT CON 3 ...
  15. Replies
    16
    Views
    11,294

    Thanks for the replies! Including...

    Thanks for the replies!

    Including "ALLDIGITAL.pbp" didn't affect anything (as far as I can tell). Attempting to set those registers simply gives me a couple of compiler errors about an "undefined...
  16. Replies
    16
    Views
    11,294

    How to set a pin high an keep it there?

    Utter newbie here... I have three different LEDs on a PIC16F688. Here is my code:
    symbol GREEN = PORTA.1
    symbol ORANGE = PORTA.0
    symbol BLUE = PORTA.2

    porta = %00000000
    trisa = %00000000...
  17. Is a timer delay accomplished with an interupt?

    I'm a hobbyist trying to teach myself PBP by experimenting. My current project is replacing the lights in my 1973 Honda motorcycle with LEDs. When the brake light is activated, I'd like for the LEDs...
  18. Replies
    6
    Views
    3,822

    Thanks for the replies! Even though it may not...

    Thanks for the replies!

    Even though it may not be the best solution this should work, right? (I'm just experimenting/learning)

    Are my registers set correctly? Is logical Pin 1 --> physical Pin...
  19. Replies
    6
    Views
    3,822

    Thanks for the reply. Can you recommend a...

    Thanks for the reply.

    Can you recommend a particular timer? Also, why can't COUNT be directly utilized for this application?
  20. Replies
    6
    Views
    3,822

    newbie: 16F688 with COUNT & SEROUT

    New guy here with both microcontrollers and PBP...

    All I want to do is count the number of times a switch cycles over the timespan of a second and output it to a serial port. The serial output is...
Results 1 to 20 of 20