Thomas Buck
64cc230916
Added methods to print decimals in various sizes.
vor 8 Jahren
Thomas Buck
bc62ca1654
Fixed pin definition problems and unified SPI reading and writing.
vor 8 Jahren
Thomas Buck
0cd1a685bd
Small changes
vor 8 Jahren
Thomas Buck
c5f4c36534
Added ISP baudrate and fixed debug MCU type.
vor 8 Jahren
Thomas Buck
fc041c00ea
Simplified pin definitions
vor 8 Jahren
Thomas Buck
9460edd0b0
Print status registers on boot
vor 8 Jahren
Thomas Buck
3c26c57d91
Can now compile for Arduino with ATmega328 for debugging, added serial library for this purpose.
vor 8 Jahren
Thomas Buck
b43e853fd0
Inline small Fifo methods
vor 8 Jahren
Thomas Buck
cfd68ba5b9
First prototype more or less finished.
vor 8 Jahren
Thomas Buck
251695a17f
Added CPPM timer implementation.
vor 8 Jahren
Thomas Buck
8680d1aab7
Continued reordering the RX code.
vor 8 Jahren
Thomas Buck
371205be8a
Add Watchdog, use consistent types, enable interrupts.
vor 8 Jahren
Thomas Buck
7a9c64d483
Started rewriting rx library
vor 8 Jahren
Thomas Buck
fc90cdbcb6
Add main method
vor 8 Jahren
Thomas Buck
b6eeae675e
Added timing library
vor 8 Jahren
Thomas Buck
10cbeb7bce
Renamed spi_ methods to match other libs
vor 8 Jahren
Thomas Buck
85a8b0c7ab
Added Revision 1 Hardware files.
vor 8 Jahren
Thomas Buck
852748ed41
Split up SPI and CC2500 code.
vor 8 Jahren
Thomas Buck
c0cb737dc2
New folder structure, added Readme and Makefile.
vor 8 Jahren
readerror67
b73b8cd8c8
Merge pull request #3 from dustin/master
New failsafe code to stop sending pulses on failure.
vor 9 Jahren
Dustin Sallings
7715d6eb60
Stop sending pulses altogether on failsafe
This makes failsafe much easier to configure on the flight controller.
The previous behavior of setting all the channels to 1000 was a bit
confusing because the pulses my flight control was receiving were
already less than 1000, so going into failsafe actually raised all
channel levels until I adjusted subtrim on throttle to keep it around
1010.
With this code, it simply stops pulsing in such a way that matches what
the frsky d4r does (see below). This is a well-known and unambiguous
path.
D4R losing radio contact: http://i.imgur.com/8Xd27VQ.png
This code losing radio contact: http://i.imgur.com/lxGL4CT.png
vor 9 Jahren
Dustin Sallings
ecf2e14f30
Don't need to special case 2 when it does nothing different
vor 9 Jahren
readerror67
bc040e46d4
Merge pull request #2 from dustin/master
Use a fixed RSSI percentage range.
vor 9 Jahren
Dustin Sallings
bca6174156
Use a fixed RSSI percentage range.
Based on a bit of sciencing around what I thought would be good range, I
came up with some values to constrain "0-100%" with for translation to
ppm values.
http://i.imgur.com/X42wxL1.png
vor 9 Jahren
readerror67
5811f6a9f3
Merge pull request #1 from dustin/master
Auto binding when uninitialized and RSSI over PPM
vor 9 Jahren
Dustin Sallings
4e4ada9231
Support RSSI over PPM
vor 9 Jahren
Dustin Sallings
f54a6ff65a
Force bind if no binding data found
vor 9 Jahren
Read Error
1ce995548f
Confirmed/tested failsafe, changed ppm polarity to match FrSky default.
The onState is backwards.
vor 10 Jahren
Read Error
f4e627ff22
Still debug trash but commented out, deal wid it.
vor 10 Jahren
Read Error
91b90ad6d8
Working!
vor 10 Jahren
Read Error
167967c88b
Oops
vor 10 Jahren
Read Error
1464f737da
Bit more cleanup.
vor 10 Jahren
Read Error
042a471858
Ran AStyle to make a bit more readable.
vor 10 Jahren