Do things in parts
1.- v-v0 = x
2.- v1-v0 = x1
3.- x/x1 = x2
4.- sin-1(x2)
that'll be your answer. Since i'm a beginner i dunno how to do sin-1, the only thing i can tell you that
y = sin...
Type: Posts; User: lugo.p; Keyword(s):
Do things in parts
1.- v-v0 = x
2.- v1-v0 = x1
3.- x/x1 = x2
4.- sin-1(x2)
that'll be your answer. Since i'm a beginner i dunno how to do sin-1, the only thing i can tell you that
y = sin...
if you want to burn the same code in all PICs, the easier thing that i can think is that you take an ICSP and multiply all by X all the pins using logical gates or something like that.
by example:...
Acetronics,
i really don't understand very well how it's works BUTTON, but, it will work if I use BUTTON just when PIC is turned on.
By example the following flow,
1. turn on PIC and if...
Tenaja there is a problem, when i code this:
OPTION_REG = $07
...
Thanks a lot Bruce and Tenaja, both ideas are great. Will tray both
Bruce one thing, your while...wend statemet, will be a inifinite loop if I left the button pressed, doesn't? I did the next...
thanks steve, can you tell me how i can measure a 2 seconds button-pressed?
just like that, Can I measure 2 seconds with pulsin? or what is the max value that i can store in a variable with pulsin?
what i want to do is, hold a button just when i turn on the pic, and if...
Acetronics, i dunno understand, i'm newbie and my english is not excellent, but since i'm going to use IOC for a button and external INT over RA2 for measure a pulse, when i get there, i think i'll...
The trick here is that i'm not using normal interrupt, all I do for this is, if a change occurs on RA0 turn on RC5 half second and then turn it off. the GIE turn off when a change on RA0 happen and...
Hi,
here is a simple Interrupt On Change program, that turns on a led on portC for pic16f684, it cost me a week to find this answer, I only hope that this help to solve problems easier for...
Thanks Dick but i'm still having troubles with IOCA over 16f684.
Because i have not much experience with PicBasic, i have been reading about IOC but don't understad how to implement a basic...
I intend to use the IOC too, but i'm not sure if i need those:
DT_INTS-14 for F684.bas
ReEnterPBP.bas
Elapsed_INT_RI.bas
if so, where i find this .bas files?
And puting that on my code IOC will work?
Because i have configured IOCA = $01, OPTION_REG = $00 and INTCON = $98
Well my problem is that i want to make an interrupt on change with RA0 on PIC16F684 but since i'm beginer in this and i'm not a well english reader i have troubles doing this, mi code next:
...
Gracias amigo por la info.