picofuse-objc

BME680Sensor.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "NXDeviceManager.h"
8 
29 @interface BME680Sensor : NXObject <NXEventSource, NXSensorDevice> {
30 @private
31  void *_bus;
32  NXString *_path;
33  void *_bme680;
34  uint8_t _address;
35  uint32_t _interval;
36  id _target;
37  SEL _selector;
38  void *_device;
39 }
40 
49 - (BOOL)setTarget:(id)target selector:(SEL)selector;
50 
54 - (uint8_t)address;
55 
56 @end
A Bosch BME680 on an I2C bus, as an event source of the application, which is read every interval...
Definition: BME680Sensor.h:29
Something which produces events, such as a timer, while it&#39;s attached to the application with -[NXApp...
Definition: NXEventSource.h:17
Defines NXDeviceManager, which makes the devices a program&#39;s built for, as they&#39;re described in JSON...
bool BOOL
A Boolean value.
Definition: runtime.h:60
A string of UTF-8 text.
Definition: NXString.h:53
The base class for objects in the Foundation framework.
Definition: NXObject.h:28
const struct objc_selector * SEL
A pointer to a method selector.
Definition: runtime.h:23
uint8_t address()
Returns its I2C address.