Skip to content

Commit

Permalink
add default current and voltage meter values
Browse files Browse the repository at this point in the history
  • Loading branch information
ws998116 committed Jul 15, 2024
1 parent 57a5468 commit faf0cfd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configs/RRIOT_F722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@
#define MAX7456_SPI_INSTANCE SPI2
#define FLASH_SPI_INSTANCE SPI3
#define BARO_I2C_INSTANCE (I2CDEV_1)

#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 400
#define DEFAULT_CURRENT_METER_OFFSET 0
#define DEFAULT_VOLTAGE_METER_SCALE 110
#define DEFAULT_VOLTAGE_METER_DIVIDER 10
#define DEFAULT_VOLTAGE_METER_MULTIPLIER 1

#define BEEPER_INVERTED

0 comments on commit faf0cfd

Please sign in to comment.