how, what and is it possible to control 2 servo's, on pin 3 and 4 of 1 arduino?
anno
@anno
Best posts made by anno
Latest posts made by anno
-
RE: 💬 Servo Control Actuator
-
RE: BME280 temp/humidity/pressure sensor
Still a lot of errors in this sketch, did take some out but this is still in it:
In file included from C:\Users\x\Documents\Arduino\BME280_sensor\BME280_sensor.ino:48:0:
C:\Users\x\Documents\Arduino\libraries\BME280/BME280_MOD-1022.h:41:21: warning: extra tokens at end of #ifndef directive
#ifndef __BME280_MOD-1022_H
^
C:\Users\x\Documents\Arduino\libraries\BME280/BME280_MOD-1022.h:42:21: warning: ISO C99 requires whitespace after the macro name
#define __BME280_MOD-1022_H
^
In file included from C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp:40:0:
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.h:41:21: warning: extra tokens at end of #ifndef directive
#ifndef __BME280_MOD-1022_H
^
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.h:42:21: warning: ISO C99 requires whitespace after the macro name
#define __BME280_MOD-1022_H
^
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp: In member function 'BME280Class::readCompensationParams()':
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp:276:45: warning: iteration 20 invokes undefined behavior [-Waggressive-loop-optimizations]
compParams.compArray[count] = Wire.read(); ^
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp:275:3: note: containing loop
for (count = 0; count < 28; count++) { // first 28 bytes we can process like this
^
C:\Users\x\Documents\Arduino\BME280_sensor\BME280_sensor.ino: In function 'loop':
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp:276:45: warning: iteration 20 invokes undefined behavior [-Waggressive-loop-optimizations]
compParams.compArray[count] = Wire.read(); ^
C:\Users\x\Documents\Arduino\libraries\BME280\BME280_MOD-1022.cpp:275:3: note: containing loop
for (count = 0; count < 28; count++) { // first 28 bytes we can process like this
-
RE: 💬 Air Humidity Sensor - DHT
How do i get 2 dht22's working in the code?