Correct bitmask for TWI SDA and SCL
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <avr/io.h>
|
||||||
#include "eeprom.h"
|
#include "eeprom.h"
|
||||||
|
|
||||||
#define MOISTURE_SENSOR_A0 PC0
|
#define MOISTURE_SENSOR_A0 PC0
|
||||||
@@ -42,8 +43,8 @@ inline void init() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
uint16_t values[DICT_SIZE] = {
|
uint16_t values[DICT_SIZE] = {
|
||||||
2,
|
(1 << PD2),
|
||||||
3,
|
(1 << PD3),
|
||||||
0x20,
|
0x20,
|
||||||
5,
|
5,
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user