Update 'Teensy4.1_Datalogger new.ino'
This commit is contained in:
parent
af864593e3
commit
7c062ec26e
@ -136,7 +136,7 @@ public:
|
||||
pinMode(pin, INPUT);
|
||||
}
|
||||
|
||||
void meassure() {
|
||||
void measure() {
|
||||
short int milli = millis();
|
||||
if(last_milli != milli){
|
||||
if(digitalRead(anemometer_pin) == HIGH){
|
||||
@ -410,9 +410,9 @@ void setup()
|
||||
// Add the main program code into the continuous loop() function
|
||||
void loop()
|
||||
{
|
||||
anemometer_1.meassure();
|
||||
anemometer_2.meassure();
|
||||
anemometer_3.meassure();
|
||||
anemometer_1.measure();
|
||||
anemometer_2.measure();
|
||||
anemometer_3.measure();
|
||||
|
||||
if (second() != last_second) {
|
||||
every_second();
|
||||
|
Loading…
x
Reference in New Issue
Block a user