arcticpixels
Apr 25, 2006, 04:17 PM
Hi
I am quite new to PIC.
Had a 12F675 flashing 4 LEDs in a pattern designed by me :cool:
(Still havent figured why the are different brightness :confused: )
Conclusion so far: JAL seems easy, ASM may be worth the time, but currently I dont feel I have the time to dig in(Next winther maybe...)
Now I have done a little research, and found some nice examples on how to control a servo with a JAL program (Thanks Malc C!) but havent tried i out yet.
What I'm looking for is a way to read the signal from the Tx, and have the PIC outputs set according to the value.
Ex: using an analog channel to control different functions (0% = gear slow down, lights on, 25% gear slow up - ligths still on, 50% landing lights off, -strobes still on, 75% all lights off, 100% cycle a servo to release payload (parachute jumper, waterballon, candy...)
I may find a lot of other applications, just to give an example on what I'm after...
I would like to stay with JAL if possible (or another [free] higher level language with an easy learning curve - C, Pascal, Basic what ever)
If the 12F675 can be used it would be great. I also have a few other PICs:
16F628A and 16LF84A but they are larger and not that sexy.
I guess that what I'm after, is a way to have the pulsewidth timed, and set a variable accordingly.
Regards
Niels
I am quite new to PIC.
Had a 12F675 flashing 4 LEDs in a pattern designed by me :cool:
(Still havent figured why the are different brightness :confused: )
Conclusion so far: JAL seems easy, ASM may be worth the time, but currently I dont feel I have the time to dig in(Next winther maybe...)
Now I have done a little research, and found some nice examples on how to control a servo with a JAL program (Thanks Malc C!) but havent tried i out yet.
What I'm looking for is a way to read the signal from the Tx, and have the PIC outputs set according to the value.
Ex: using an analog channel to control different functions (0% = gear slow down, lights on, 25% gear slow up - ligths still on, 50% landing lights off, -strobes still on, 75% all lights off, 100% cycle a servo to release payload (parachute jumper, waterballon, candy...)
I may find a lot of other applications, just to give an example on what I'm after...
I would like to stay with JAL if possible (or another [free] higher level language with an easy learning curve - C, Pascal, Basic what ever)
If the 12F675 can be used it would be great. I also have a few other PICs:
16F628A and 16LF84A but they are larger and not that sexy.
I guess that what I'm after, is a way to have the pulsewidth timed, and set a variable accordingly.
Regards
Niels