Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - RC servo, I2C and other feature

(you are viewing a thread; or go back to list of threads)

RC servo, I2C and other feature (by BoumPower)
I plan to include RC servo support in the new LDmicroCompiler (PIC target)
I will use Timer0 for handling plcTimers and Timer1 for RC servo.
I will try to add code for :
ouput pulse (1ms..2ms) for servo control
sense input pulse from RC controler

Please tell me if interested by servo feature, it's assembly real-time coding... I will not do that if they is no interest !

I will change pin description in ld2 format as :
simple IO
INPUT name port bit pullup
OUTPUT name port bit
PWM IO
PWM name port bit
Analog
ADC name port bit
USART
RX name port bit pullup
TX name port bit
I2C (software & hardware)
SDA name port bit
SCK name port bit
Servo control
RCIN name port bit pullup
RCOUT name port bit

Other idea ?

NB : still looking for somebody that upgrade LDmicro.exe for LD2 file format and a menu token that invoke LDmicroCompiler tool chain (like a make)
Tue Jun 1 2010, 08:09:01
(no subject) (by BoumPower)
(I will use Timer2 instead of Timer0)

For those using LDmicro and will use LDmicroCompiler in future:

If you prefix the name of INPUT or OUPUT with

PWM
ADC
USARTRX
USARTTX
I2CSDA
I2CSCL
RCIN
RCOUT

The compiler will automaticaly translate to correct feature
Wed Jun 2 2010, 02:06:06
(no subject) (by MAX)
I'm realy interesrded in servo IO and I2C Bus...

Not much time this summer but I will give your compiler a try as soon as I can, Keep on with your good work !!!
Wed Jun 2 2010, 22:36:41
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):