encoder: added data array buffer and accumulators
Fixed a bug in encoders.
asdf
Wrote encoders.c and encoders.h Would GREATLY appreciate it if someone could check if I got the receive function correct. There was a lot of bit twiddling. Useful functions still need to be written, however receiving raw encoder readings should work (not tested... so don't bet on it)
encoders might work now
potentially functional SPI driver, will test tonight
more broken code
More testing. Transmission is messed up.
Read the datasheet again and I think we had things out of order. Reversed the order but didn't test yet.
Modified spi.c/h. Sends 1 packet before failing. Funny light blinking thing happens when sending, no idea where that came from. It looks like the orbs are used as transmit lights but there's no code for that as far as I know.
Modified the spi module a bit. Didn't test it but this might be better. Need to talk to Ben about it.
Started the encoders file. Nothing in there because I don't have a stable SPI interface to work with yet.
slave -> master kind of works
SPI Master->Slave works. Slave->Master not working yet. /template/main.c has the test bench. Yay!
Changed formatting so that it isn't as messy. Probably won't compile. Still probably doesn't work.
SPI update, still not functional
updated timer rtc_add_function and implemented a rtc_remove_function
added get and reset functions back in to work with existing code, added get from a particular function, and reset all
updated time.c and time.h to take multiple functions, somewhat backwards compatible
Branching for encoder work in the library.
Updated build and documentation for libdragonfly, including reset.h, math.h and i2c.h.
Wee we committed i2c with many problems. But it should be ok.
merged lib_additions
Added libdragonfly project folder.