ArduinoGeneral

GPIO Shield for Arduino (DFR0334)

userHead Account cancelled 2017-10-06 21:05:50 3902 Views1 Replies
Hello DFRobot Community. Any help you can give me would be truly appreciated. I am using the i2c extension pins of the GPIO Shield, and have successfully done so by adding the code "ioport" to pinMode, digitalWrite or digitalRead (e.g. ioport.digitalWrite, ioport.digitalRead or ioport.pinMode.) However, here is the problem. I dont know what to do with other sensors like for example the DHT22 temp and humidity sensor, SR04 ultrasonic sensor, or a servo motor where the supplied code does not use pinMode, digitalWrite or digitalRead. Is there any other way I could use them in the i2c extension pins? Thanks in advance!
2017-10-13 16:13:55 I am not very sure about your question, DHT22, humidity sensors are using analog pins or digital pins to control them, you can't use I2C to control them, and there are enough pin on the shield to plug in. userHeadPic robert.chen