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)
(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