Nevermind. I found what I needed:
HSERIN 10000, main, [DEC2 MyVar]
Type: Posts; User: ShortBus; Keyword(s):
Nevermind. I found what I needed:
HSERIN 10000, main, [DEC2 MyVar]
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...
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.
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...
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...
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...
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?
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?
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:
'...
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...
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...
That's what I get for attempting binary math after my bedtime. lol. Thanks for the help!
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...
I'm having problems compiling the sample code. Would you have any suggestions?
;----[ MIBAM Setup ]--------------------------------------------------------
BAM_COUNT CON 3 ...
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...
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...
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...
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...
Thanks for the reply.
Can you recommend a particular timer? Also, why can't COUNT be directly utilized for this application?
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...