add firmware

This commit is contained in:
digimint 2026-01-22 19:54:53 -06:00
parent f165ccdc95
commit 580bc8716c
Signed by: digimint
GPG key ID: 8DF1C6FD85ABF748
21 changed files with 6148 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/* MX-008 "Onyx Sovereign" -02 "Kingmaker"
* ============================================================================
* === IIC interface configuration
* ============================================================================
*
* Alexis Maya-Isabelle Shuping
* 29th March 2021
* University of Florida
*/
#pragma once
#include <driver/i2c.h>
#define T_IIC_INIT ("IIC INIT")
#define T_IIC_LCD ("IICL")
#define IIC_NUM_LCD (I2C_NUM_0)
void iicInit(i2c_port_t port, int sclNum, int sdaNum, bool pullUps, int clkRate);
void iicCommand(i2c_port_t port, uint_fast8_t targetAddress, uint_fast8_t toSend);
void iicData(i2c_port_t port, uint_fast8_t targetAddress, uint_fast8_t toSend);