aboutsummaryrefslogtreecommitdiff
path: root/main
Commit message (Collapse)AuthorAge
* Run clang-formatHEADmainJosh Rahm2022-12-01
|
* Add an HTTP Server.Josh Rahm2022-12-01
| | | | | This server allows the user to control the parameters of the state for displaying the lights.
* Break out the state parmaters into their own include file.Josh Rahm2021-12-02
| | | | This helps by creating one location to add state parameters.
* Add a controller shell.Josh Rahm2021-12-01
| | | | | | | | | | | | | | | | | | | This adds a mini shell to the tcp server that allows the user to modify the current state. Commands are in the form: set [int_attribute] (=|+=|-=) [number] set [bool_attribute] (on|off|toggle) print end for example: set brightness += 5 set power on print end
* Port the code from my STM project over to ESP32.Josh Rahm2021-12-01
| | | | | | | | There is still definitely some jenk to it. For one I still need to figure out how to protect critical sections to prevent stutter. I do need to set up a timer to control the time incrementer rather than depending on the speed of the spi bus.
* Reorganize tasks into their own files.Josh Rahm2021-11-30
|
* Break out code into tasks.Josh Rahm2021-11-30
| | | | | | | | | | | | | | | Increases the nmuber of LEDs to the full 300 roll. Can connect to the device using netcat. Set the color by entering white red green blue yellow teal magenta black
* Add limited ability to control LEDs remotely.Josh Rahm2021-11-29
|
* Added simple routine to use a server socket.Josh Rahm2021-11-29
|
* Add ability to connect to wifi.Josh Rahm2021-11-29
| | | | This adds a small subsystem to connect to a basic WPA accesspoint.
* Add .clang-format and run clang-format.Josh Rahm2021-11-21
|
* Add crude ws2812b driver.Josh Rahm2021-11-21
| | | | | | | | | | This driver can run lights! However it is very crude and does not provide a great API. It does work though! Currently lights up 5 leds of different colors. Right now this does synchronous writes, which is not the best. It would be better to be async, but I think that sholud not be a problem and will shortly be done.
* Got initial SPI set up.Josh Rahm2021-11-20
| | | | | Got the SPI to work at 2.5 MHz. Just writes a bunch of 0xaf to make the pattern easy to see on the oscilloscope.
* First commit.Josh Rahm2021-11-20
Very basic, "Hello, World" infrastructure. For the most part, I did not copy this from an existing example, rather, took inspiration from an existing example. I want to avoid cargo-culting as much as possible.