MrYsLab / telemetrix

A user-extensible replacement for StandardFirmata. All without the complexity of Firmata!
GNU Affero General Public License v3.0
68 stars 26 forks source link

Use ifdefs to turn on features in the sketch. #5

Closed MrYsLab closed 2 years ago

MrYsLab commented 4 years ago

When using an MCU with limited resources, such as the UNO, it would be nice to be able to configure the sketch with just the features you need. This will be done by setting defines in the sketch.

Current thinking is that the default set of features will be: Analog Input and Output Digital Input and Output I2C (standard single i2c port)

The following features will initially be initially turned off but will be available. Servo HC-SR04 Second i2c port.

DHT to come at some later date.

There will be a command added so that you can retrieve the currently active features.

MrYsLab commented 2 years ago

Solved within the server.