Thanks Mister-e,
makes perfect sense
Just curiosity... what does this formula mean then ?
thanks( For a pulse of 1.5ms and 10Mhz clock ) : 150*10/4=375 counts
Thanks Mister-e,
makes perfect sense
Just curiosity... what does this formula mean then ?
thanks( For a pulse of 1.5ms and 10Mhz clock ) : 150*10/4=375 counts
Thanks for the tip Acetronics
What do you sugest ? What will it work better ( for a Futaba RX ) ?
.
1) I always use 25ms for PULSIN_MAX ...( add the pulse duration and it's Ok for all ! )
2) Ah, Futaba RXs !!!
Some care has to be taken for Futaba and Sanwa, some of their receivers output a ~ 3.5v high level ...
So, They will work with a TTL input, but not with a Schmitt trigger input ( as PortB.0 in interrupt mode i.e ...) : it will work with a PULSIN PORTB.0 , but not ON INTERRUPT (i.e.) ... that can offer happy debugging times !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks Mister-e
... that can offer happy debugging times !!!
Thanks Acetronics
To protect the hardware i was thinking of placing a 220 Ohms resistor between the RX and the Pic.
Hope it works
.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Thanks for the tip Acetronics,
OK...( let's see if i understood) will use the 4K7 between RX and Pic and the 100K pulldown for the pic's input pin.
Thanks![]()
10 to 4 Mhz conversion i guess...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks