author
2Comments

Tell us about yourself!

Complete Your Profile
  • Automated Navigation Robot With Gas (MQ-2), Temperature & Humidity (DHT11) Sensors

    Hi, First of all thank you for the short reply, here are the errors I get:Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"FPTX6CRIPJZN0KI:20: error: 'POSITIVE' was not declared in this scope LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Addr, En, Rw, Rs, d4, d5, d6, d7, backlighpin, polarity ^C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino: In function 'void setup()':FPTX6CRIPJZN0KI:32: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)' lcd.begin (16,4); // initialize the lcd ^C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino:32:20: note: candidate is:In file included from C:\Users\Matan-PC\Documents\Ard...

    see more »

    Hi, First of all thank you for the short reply, here are the errors I get:Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"FPTX6CRIPJZN0KI:20: error: 'POSITIVE' was not declared in this scope LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Addr, En, Rw, Rs, d4, d5, d6, d7, backlighpin, polarity ^C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino: In function 'void setup()':FPTX6CRIPJZN0KI:32: error: no matching function for call to 'LiquidCrystal_I2C::begin(int, int)' lcd.begin (16,4); // initialize the lcd ^C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino:32:20: note: candidate is:In file included from C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino:4:0:C:\Users\Matan-PC\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: void LiquidCrystal_I2C::begin() void begin(); ^C:\Users\Matan-PC\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.h:76:7: note: candidate expects 0 arguments, 2 providedC:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino: In function 'long unsigned int DHTTemp()':FPTX6CRIPJZN0KI:133: error: 'DHT' was not declared in this scope int chk = DHT.read11(DHT11_PIN); ^C:\Users\Matan-PC\Documents\Arduino\FPTX6CRIPJZN0KI\FPTX6CRIPJZN0KI.ino: In function 'long unsigned int DHTHum()':FPTX6CRIPJZN0KI:142: error: 'DHT' was not declared in this scope int chk = DHT.read11(DHT11_PIN); ^Multiple libraries were found for "Servo.h" Used: C:\Program Files (x86)\Arduino\libraries\Servo Not used: C:\Users\Matan-PC\Documents\Arduino\libraries\Servo-masterMultiple libraries were found for "Wire.h" Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire Not used: C:\Users\Matan-PC\Documents\Arduino\libraries\Wire-master Not used: C:\Users\Matan-PC\Documents\Arduino\libraries\Wire Not used: C:\Program Files (x86)\Arduino\libraries\Wire-libraryexit status 1Exception in thread "AWT-EventQueue-0" 'POSITIVE' was not declared in this scopejava.lang.ArrayIndexOutOfBoundsException: 41at org.fife.ui.rsyntaxtextarea.DefaultTokenFactory.createToken(DefaultTokenFactory.java:118)at org.fife.ui.rsyntaxtextarea.TokenMakerBase.addToken(TokenMakerBase.java:132)at processing.app.syntax.SketchTokenMaker.addToken(SketchTokenMaker.java:73)at org.fife.ui.rsyntaxtextarea.TokenMakerBase.addToken(TokenMakerBase.java:108)at org.fife.ui.rsyntaxtextarea.modes.CPlusPlusTokenMaker.addToken(CPlusPlusTokenMaker.java:1859)at org.fife.ui.rsyntaxtextarea.modes.CPlusPlusTokenMaker.addToken(CPlusPlusTokenMaker.java:1843)at org.fife.ui.rsyntaxtextarea.modes.CPlusPlusTokenMaker.addToken(CPlusPlusTokenMaker.java:1832)at org.fife.ui.rsyntaxtextarea.modes.CPlusPlusTokenMaker.yylex(CPlusPlusTokenMaker.java:2223)at org.fife.ui.rsyntaxtextarea.modes.CPlusPlusTokenMaker.getTokenList(CPlusPlusTokenMaker.java:1905)at org.fife.ui.rsyntaxtextarea.RSyntaxDocument.getTokenListForLine(RSyntaxDocument.java:428)at org.fife.ui.rsyntaxtextarea.SyntaxView.paint(SyntaxView.java:721)at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434)at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)at org.fife.ui.rtextarea.RTextAreaUI.paintSafely(RTextAreaUI.java:536)at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)at org.fife.ui.rtextarea.RTextAreaBase.paintComponent(RTextAreaBase.java:728)at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.paintComponent(RSyntaxTextArea.java:2017)at javax.swing.JComponent.paint(JComponent.java:1056)at javax.swing.JComponent.paintChildren(JComponent.java:889)at javax.swing.JComponent.paint(JComponent.java:1065)at javax.swing.JViewport.paint(JViewport.java:728)at javax.swing.JComponent.paintChildren(JComponent.java:889)at javax.swing.JComponent.paint(JComponent.java:1065)at javax.swing.JComponent.paintChildren(JComponent.java:889)at javax.swing.JComponent.paint(JComponent.java:1065)at javax.swing.JComponent.paintChildren(JComponent.java:889)at javax.swing.JComponent.paint(JComponent.java:1065)at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)at javax.swing.RepaintManager.paint(RepaintManager.java:1272)at javax.swing.JComponent._paintImmediately(JComponent.java:5158)at javax.swing.JComponent.paintImmediately(JComponent.java:4969)at javax.swing.RepaintManager$4.run(RepaintManager.java:831)at javax.swing.RepaintManager$4.run(RepaintManager.java:814)at java.security.AccessController.doPrivileged(Native Method)at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)at java.awt.EventQueue.access$500(EventQueue.java:97)at java.awt.EventQueue$3.run(EventQueue.java:709)at java.awt.EventQueue$3.run(EventQueue.java:703)at java.security.AccessController.doPrivileged(Native Method)at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)This report would have more information with"Show verbose output during compilation"option enabled in File -> Preferences.

    View Instructable »