- First complete version of firmware. Currently being tested in the rehearsal room
- Added bunch of screens, fonts and images - Added script to read out frame buffer (function currently disabled in Firmware)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#define INA260_REG_BUSVOLTAGE 0x02 ///< Bus voltage measurement register in mV
|
||||
#define INA260_REG_POWER 0x03 ///< Power calculation register in mW
|
||||
#define INA260_REG_MASK_ENABLE 0x06 ///< Interrupt/Alert setting and checking register
|
||||
#define INA260_REG_ALERT_LIMIT 0x00 ///< Alert limit value register
|
||||
#define INA260_REG_ALERT_LIMIT 0x07 ///< Alert limit value register
|
||||
#define INA260_REG_MFG_UID 0xFE ///< Manufacturer ID Register
|
||||
#define INA260_REG_DIE_UID 0xFF ///< Die ID and Revision Register
|
||||
|
||||
@@ -32,12 +32,15 @@
|
||||
// ============================================================================================
|
||||
// Function Declarations
|
||||
void INA260_Init();
|
||||
void INA260_Update_Current_Threshold();
|
||||
|
||||
void INA260_Read_BusVoltage();
|
||||
void INA260_Read_Current();
|
||||
void INA260_Read_Threshold();
|
||||
|
||||
uint16_t INA260_Get_BusVoltage_mV();
|
||||
uint16_t INA260_Get_Current_mA();
|
||||
uint16_t INA260_Get_Threshold();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user