SapFlow Probe
A low-cost HRM probe for measuring a tree's water consumption
|
#include <pt.h>
#include <FeatherFault.h>
Enumerations | |
enum | pinout { EN_3v3 = 5, EN_5v = 6, SD_CS = 10, HEATER = 17, ALARM_PIN = 12, STATUS_LED = 13, I2C_SDA = 20, I2C_SCL = 21, SPI_SCK = 24, SPI_MOSI = 23, SPI_MISO = 22, TX = 1, RX = 0, RFM95_CS = 8, RFM95_RST = 4, RFM95_INT = 3 } |
Pin definitions for our project. More... | |
Functions | |
void | hardware_init (void) |
Initializes the hardware. More... | |
void | hardware_deinit (void) |
De-initializes hardware. More... | |
enum pinout |
Pin definitions for our project.
This enum defines the board pinout. It is similar to using DEFINE, but has the added benefit of preventing address conflicts.
void hardware_deinit | ( | void | ) |
De-initializes hardware.
Used before sleeping to save power
References EN_3v3, EN_5v, SD_CS, SPI_MOSI, SPI_SCK, and STATUS_LED.
Referenced by feather_sleep().