Commit Graph

6 Commits

Author SHA1 Message Date
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
Gustavo Jose de Sousa fe8d471490 Tools: RCInput_UART PIC firmware: keep status led on
Keep status led on while we are continuously sending packets to serial. That
shows the user we are receiving input properly.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa 2c9472c634 Tools: RCInput_UART PIC firmware: blink status led when idle
Blink status led if there's no input in more than (2 * NUM_INPUT) ms. That's
useful to show the user that the program is working, but not receiving proper
input.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa 6a8420aa48 Tools: RCInput_UART PIC firmware: remove code out of place
That code for serial configuration was not really setting TXSTA register, since
the selected bank is 2. Looking at the datasheet, it seems that we were
actually messing with a register named VRCON (full name "VOLTAGE REFERENCE
CONTROL REGISTER").

This is probably a leftover from a copy/paste, since the same is done (in the
right place) previously.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa 2a7e4baa7d Tools: RCInput_UART PIC firmware: add informative comments 2015-11-04 13:55:10 +11:00
Fabio Mello 8110104361 Tools: add PIC assembly code for RCInput_UART
This patch adds the assembly source code for the PIC firmware responsible for
processing PWM input from the RC Receiver and pushing the values to the serial
output.
2015-11-04 13:55:10 +11:00