Does it work with dependencies?
TheNotary opened this issue · 1 comments
TheNotary commented
For instance, I'm currently working with a project in Arduino's C, and it uses adafruit/RTClib
. How exactly do we perform something like the following in rust instead of C?
#include "RTClib.h"
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
dht.begin();
float h = dht.readHumidity();
Serial.print(h);
stappersg commented
This valid question does not below here. In How to ask smart questions is documented how to proceed.
@TheNotary and all others, do know that is OK to post here a link to answer of How read DHT sensor in Rust?