aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software
AgeCommit message (Collapse)Author
2016-05-08Prevent cue_next_image from being optimized outWanderingGlitch
2016-04-18Don't fire the laser continuouslyDavid Barksdale
This should really save on power and it's likely to work at even lower battery voltage. We probably don't need the 2nd battery now.
2016-04-18Make compatible with V0 badges againDavid Barksdale
Since we don't need to control reset to fix EPD stuck problems wire it back to PTA20 and revert the code changes.
2016-04-18Abort stuck SPI transfersDavid Barksdale
2016-04-16Added #define HAS_RESET for new vs old badgesDavid Barksdale
V0 badges should define it as 0, newer badges with EPD RESET wired to PTA19 should define it as 1.
2016-04-16Using PTA19 for EPD resetDavid Barksdale
This code will not work on V0 badges anymore. You'll need to remove Q1 and Q2 and cut the trace on the top going to breakout pin 34 and wire it to pin 33.
2016-03-28Choose a better character for musicDavid Barksdale
If you shorten the pulses for B you get a !.
2016-03-28Select button does image scrollingDavid Barksdale
2016-03-27Use DMA SPI transfersDavid Barksdale
This paints the display about 2x faster!
2016-03-27Remove unused headerDavid Barksdale
2016-03-07Put an AHA on it!David Barksdale
2016-03-02Clear the display!David Barksdale
2016-02-22Turn on those charge pumps!David Barksdale
2016-02-17Talking to EPD nowDavid Barksdale
Work in progress.
2016-01-27Some initial progressDavid Barksdale
I'm not getting the right response to command 0x71 and I think it has something to do with initializing the display (reset). I can't seem to get PTA20 to go low.
2016-01-06Laser tag demo codeDavid Barksdale
You can select what data to send the other badge using the up/down/left/right keys. Then use the trigger to fire the laser! Up: Light LED red Left: Light LED green Right: Light LED blue Down: Start playing music (press any key to stop)
2016-01-04Clean up commented-out stuffDavid Barksdale
2016-01-04We don't need two copies of fsl_lptmr_irq.cDavid Barksdale
2016-01-04Use S1 for music and S2 for the laserDavid Barksdale
2016-01-03Turn back on the bleeps for testingDavid Barksdale
2015-11-25Driving the laser with LPUART_TXDavid Barksdale
2015-11-24Actually libnewlib-arm-none-eabiDavid Barksdale
2015-11-24Also install libnewlib-devDavid Barksdale
2015-11-14Bleep bleep bloopDavid Barksdale
2015-11-11Fix commentDavid Barksdale
2015-11-11Testing RGB LEDDavid Barksdale
2015-10-26Changes to get the LCD workingDavid Barksdale
2015-10-24Configure LPUART1 to receive at 9600 8E1David Barksdale
And setup the DAC to transmit a '$' at 9600 8E1.
2015-10-19Tweak AGC, wire laser to switch1David Barksdale
2015-10-14Crappy automatic gain control for the CMPDavid Barksdale
The theory seem to be sound, it just needs tuning and probably filtering. Then we have to figure out how to recover actual data.
2015-10-12Added a voltage divider for VREFH inputDavid Barksdale
This way we can get higher resolution in the range of voltages we get from the photodiodes.
2015-10-05Testing the comparator and 6-bit DACDavid Barksdale
2015-10-03Adjust PIT period to 10 us (100 kHz)David Barksdale
2015-10-03DMA to DACDavid Barksdale
2015-10-03Trigger DAC from PITDavid Barksdale
2015-10-03Power usage now < 1mADavid Barksdale
It doesn't even register on my meter anymore!
2015-10-03Simplifing codeDavid Barksdale
2015-09-28DAC laser modulation testDavid Barksdale
2015-09-27Added hello worldDavid Barksdale
2015-09-23How to buildDavid Barksdale
I documented the steps I took to build the hello_world example and load it into flash.
2015-09-21OpenOCD and GDB configsDavid Barksdale
My setup is a BusBlaster v2 flashed with KT-Link buffers and openocd-0.9.0 and gdb-multiarch Ubuntu packages.