Search found 10 matches
- Thu Jan 22, 2009 7:02 pm
- Forum: Flowcode V2 & V3
- Topic: PWM input example
- Replies: 0
- Views: 7389
PWM input example
I have made and finished a simple PWM input example for use with RC servo outputs, I made this trying to build a "RC switch" to control nav/landing lights and/or camera on my RC helicopter. Two ~ Three weeks ago I knew little to nothing about PICmicros and programing and completed my first...
- Thu Jan 22, 2009 5:19 pm
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
Just trying to refine it a bit I want to test it some more I think I can make better! But yes I'm willing to share it to show hobbyists how powerful and useful Flowcode can be!
- Wed Jan 21, 2009 3:36 pm
- Forum: Flowcode V2 & V3
- Topic: LCD code not working?
- Replies: 2
- Views: 2947
Re: LCD code not working?
Thank you!!!! It works now, it was the the low voltage programing config, disabled and now works perfectly , just had to double check my programmer that it does high voltage programming so I can rewrite the chip and all is fine! 

- Wed Jan 21, 2009 4:38 am
- Forum: Flowcode V2 & V3
- Topic: LCD code not working?
- Replies: 2
- Views: 2947
LCD code not working?
Tried to search the forums but didn't seem to want to let me to , I'm trying connect a LCD to my 16F627 and have set to 4Mhz with an external Xtal and I know my LCD works I tested in 8bit mode connected to my computer LPT port and the screen dose not want to work with the PIC just black blocks on to...
- Mon Jan 19, 2009 8:24 pm
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
Nope, wait I just looked more into the interrupt and saw transition low to high on T0CKI and found out T0CKI is a pin so this pin is my input and in the sub routine for TMR0 I just do a calculation of count = count + 1 and I can set up a LCD in the main program to out put the results correct??
- Mon Jan 19, 2009 6:13 pm
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
Thank you Ben , Thank you Chevy ! I looked at the interrupt and saw TMR0 overflow and it gave me some settings clock source = internal clock , source edge select = low to high transition T0CKI , and prescale = 1:4 , with the interrupt it gave me a window for a sub routine I'm guessing this is where ...
- Mon Jan 19, 2009 4:55 am
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
After doing some hard reading and looking I think I know now what I want to do, so to read a PWM since its a square wave pulsing on/off ( 1 / 0 ) I just want to read the length of 1 , so when the input goes high 1 a timer should start and count how long the input is high till it goes low , since the...
- Sun Jan 18, 2009 2:06 am
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
Thanks for the reply, I was looking over your posts and some other servo based posts and have some what of an idea. I know a little C code have read up on it so I know the basic syntax of it but never really did any programming. A friend of my'n gave me a JDM programmer and a few different PICs from...
- Sat Jan 17, 2009 6:03 pm
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
Re: PWM input?
Hey chevy6600, excellent another RC guy. I played around with PWM output and found that I can dim and pulse a LED light for effects witch is really neat but the PWM on the PIC chips seems to be output only I'm not looking to drive a servo but read the signal that normally would go to one, I connecte...
- Sat Jan 17, 2009 12:18 am
- Forum: Flowcode V2 & V3
- Topic: PWM input?
- Replies: 12
- Views: 11196
PWM input?
Hello, I am a RC hobbyist and been looking to control LEDs and such off a spare servo channel, been reading and learning about PIC micros and when I found out about flowcode it looked like something that I could use, right now I downloaded the demo and trying to figure out how to read PWM as a input...