grove library

Classes

GroveLedBarMy9221
The Grove LED Bar MY9221 is comprised of a 10 segment LED gauge bar and an MY9221 LED controlling chip.
GroveLightLM358
The Grove light sensor.
GroveLightValues
The values class for the Grove light sensors.
GroveLoraMessage
A LORA message
GroveLoraModemConfiguration
Defines register values for a set of modem configuration registers that can be passed to GroveLoraRf95.setModemRegisters if none of the choices in GroveLoraModemConfigurationChoice suit your need GroveLoraRf95.setModemRegisters writes the register values from this structure to the appropriate registers to set the desired spreading factor, coding rate and bandwidth
GroveLoraReceiveMessage
A LORA receive message
GroveLoraRf95
Lora RF95 class
GroveLoraRf95Definitions
GroveLoraRf95Hsu
Communications interface to the RF95 High Speed Uart(HSU) interface.
GroveLoraTransmitMessage
GroveNfcPn532
The Grove PN532 based NFC device.
GroveNfcPn532Definitions
Command, data and font definitions for the Grove NFC PN532 based reader.
GroveNfcPn532Hsu
Communications interface to the PN532 High Speed Uart(HSU) interface.
GroveNfcPn532Interface
Communications interface to the PN532.
GroveOledSsd1327
Provides support for the Grove OLED 96*96 display module, which is an OLED monochrome display based on a SSD1327 chip.
GroveOledSsd1327Definitions
Command, data and font definitions for the Grove OLED SSD1327 based device.
GrovePir
The Grove PIR Motion Sensor.
GroveSequenceMonitor<T>
The sequence monitor is used to monitor and check for errors in a command sequence that must work, e.g. an initialisation sequence.
GroveSoundLM386
The Grove Sound Sensor can detect the sound intensity of the environment.
GroveTemperatureV12
The Grove temperature sensor.
GroveTemperatureValues
The values class for the Grove temperature sensors
My9221Context
Local context for the MY9221 chip

Enums

CommandStatus
Command status
GroveDeveiceInitialisationState
Enumeration to support device initialisation functions.
GroveLoraMode
Defines different operating modes for the transport hardware
GroveLoraModemConfigurationChoice
Choices for GroveLoraRf95.setModemConfiguration for a selected subset of common data rates. If you need another configuration, determine the necessary settings and call GroveLoraRf95.setModemRegisters with your desired settings. It might be helpful to use the LoRa calculator mentioned in http://www.semtech.com/images/datasheet/LoraDesignGuide_STD.pdf These are indexes into MODEM_CONFIG_TABLE. We strongly recommend you use these symbolic definitions and not their integer equivalents: its possible that new values will be introduced in later versions (though we will try to avoid it).

Extensions

GroveUartExtensions on MraaUart
Extension methods for Uart communication in Grove.

Constants

modemConfigurationTable → const Map<GroveLoraModemConfigurationChoice, List<int>>
These are indexed by the values of GroveLoraModemConfigurationChoice

Properties

eq Function
Equality function for modem command/response processing
getter/setter pair

Functions

groveByte2Hex(int value) String
Single byte convert
groveList2Hex(List<int> values, {int lineLength = 8}) String
Hex conversion helpers. Converts a list of integers to a byte string with leading 0x's. Line length can be set as needed.