Dear Forum
Desperation is looming. I am using 12F675 programmed with meLabs USB programmer and ver 2.6 compiler for PICBASIC PRO.
Every time I set the device for internal oscillator, INTOSC...
Type: Posts; User: med2007; Keyword(s):
Dear Forum
Desperation is looming. I am using 12F675 programmed with meLabs USB programmer and ver 2.6 compiler for PICBASIC PRO.
Every time I set the device for internal oscillator, INTOSC...
I am frail, old and grey and have lost my book.
Here it is again; I think I have not formed the question correctly.
I want to convert:
main:
HIGH PORTB.0 : PAUSE 10 : LOW PORTB.0 : PAUSE...
Thanks for the insight, however I want to say...
H9 : pause 10 ...... not HIGH H9 pause 10 .... and achieve same result
I want H9 to mean HIGH PORTB.0
I am old and frail and need help.
Michael
How do I create a short cut to an instruction in PBP such as
H9 means or points to instruction like HIGH PORTB.0 ?
So instead of writing HIGH PORTB.0: PAUSE 10 : LOW PORTB.0
I can write H9:...
What is not compatible?
Rgds
Are these things hard to drive?
Can I write, in PBP, simple programs to display text easily, or is it tres dificile?
I am an Old Timer, born before 1940 but still trying to learn, some people say I...
I have a few of 132x32 LCD modules which use a KS0713 controller.
Does someone have some simple PICBasic Pro code I could try out on one of them.
I have used 2x20 displays OK but want to expand my...
Thanks for the link...so my syntax should be?
FOR i = 0 to 7
IF portb.0(i) = 0 THEN GOSUB alarm
NEXT i
I'll give it a whirl.
Rgds
MED2007
On the side, could you tell me the correct syntax to poll portb in a for..next loop?
viz
FOR i = 0 to 7
IF portb.[i]=0 THEN GOSUB alarm
NEXT i
This doesn't work and I can't find the answer in...
Thanks for your help with my project, it is now almost complete and working well enough.
In the end I didn't use an Interrupt Handler, just counted until intcon.2=1, fairly accurate for what I want,...
Seem to be doing better now, so thanks for that. At least I've been able to package my project as a demo at last, it's only taken a month to design my Single Event Data Logger
with LCD display.
Can't find where else to put this query in the forum and my LCD searches produce nothing....but I'm having trouble addressing 2x16 LCD.
Do you have to put delay before every LCDOUT command or just...
Thanks for that I'll check it out...meantime is it allowed to have a GOTO inside a subroutine to exit that routine before the RETURN?
Or can I just say IF so-and-so THEN RETURN?
Rgds
Mike
Too right 10 seconds is for test purposes.
I have tried your code skimask and it does do something..however a bit strange, is there a way of posting scope waveforms on this forum? I think my scope...
As a complete NOOB I am struggling again, my interrupt handler doesn't work. It's for a timer
and this code is only part of the complete project. It should pulse portb.0 and susequently portb.2 ...
My first language is English and I still don't understand most of the stuff on here.
Rgds
Thanks guys, the answer is to configure porta for digital I/O, which I hadn't done.
CMCON = %00000111 using 16F628
Rgds
Why does this fall through?
loop:
IF porta.0 = 1 then loop
next lot of basic code follows here
RA0 is tied up via 10K and a press button grounds it, to get out of the loop, but...it fall...
I don't understand your reply and is it not possible to impliment solution with a single chip?
Do a 16F84 not have enough data space?
Rgds
Hi everybody, I am struggling most of the time with PICs, this is my first post...does anyone have an event logger design such that on a switch closure, count = 1, and measure time interval of...