loading
1Comments

Tell us about yourself!

Complete Your Profile
  • Arduino Nano: DHT11 Temperature an Humidity I2C 2 X 16 LCD Display With Visuino

    I have problem with compilation in arduino IDE. It's a problem: This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Nano w/ ATmega328"In file included from C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:13, from Generated.ino:10:C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: ISO C++ forbids initialization of member '_list'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: making '_list' staticC:\Users\Patryk\Documents\Arduino\librar...see more »I have problem with compilation in arduino IDE. It's a problem: This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Nano w/ ATmega328"In file included from C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:13, from Generated.ino:10:C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: ISO C++ forbids initialization of member '_list'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: making '_list' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:262: error: ISO C++ forbids initialization of member '_size'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:262: error: making '_size' staticIn file included from Generated.ino:10:C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:74: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:74: error: ISO C++ forbids initialization of member 'OnReceiveObject'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:74: error: making 'OnReceiveObject' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:74: error: invalid in-class initialization of static data member of non-integral type 'OpenWire::Object*'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:75: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:75: error: ISO C++ forbids initialization of member 'OnReceive'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:75: error: making 'OnReceive' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:75: error: invalid in-class initialization of static data member of non-integral type 'void (OpenWire::Object::*)(void*)'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:88: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:95: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h: In member function 'void OpenWire::CallbackPin::SetCallback(OpenWire::Object*, void (OpenWire::Object::*)(void*))':C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:80: error: 'OnReceiveObject' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:81: error: 'OnReceive' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h: At global scope:C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h: In instantiation of 'Mitov::SimpleList<OpenWire::Pin*, unsigned char>':C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:100: instantiated from hereC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: invalid in-class initialization of static data member of non-integral type 'OpenWire::Pin**'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:262: error: ISO C++ forbids in-class initialization of non-const static member 'Mitov::SimpleList<OpenWire::Pin*, unsigned char>::_size'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:114: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:119: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:147: error: ISO C++ forbids initialization of member 'FIsConnected'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:147: error: making 'FIsConnected' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:147: error: ISO C++ forbids in-class initialization of non-const static member 'FIsConnected'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:211: error: ISO C++ forbids initialization of member 'FStarted'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:211: error: making 'FStarted' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:211: error: ISO C++ forbids in-class initialization of non-const static member 'FStarted'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:233: error: ISO C++ forbids initialization of member 'Value'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:233: error: making 'Value' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:236: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:240: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:250: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:254: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:264: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:269: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:276: error: ISO C++ forbids initialization of member 'Value'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:276: error: making 'Value' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:281: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:292: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:311: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:322: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:340: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:351: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:364: error: ISO C++ forbids initialization of member 'Clocked'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:364: error: making 'Clocked' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:364: error: ISO C++ forbids in-class initialization of non-const static member 'Clocked'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:367: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:372: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:379: error: ISO C++ forbids initialization of member 'Value'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:379: error: making 'Value' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:382: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:387: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:397: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:402: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:412: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:418: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:425: error: ISO C++ forbids initialization of member 'Value'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:425: error: making 'Value' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:428: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:436: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:446: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:455: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:465: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:475: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:482: error: ISO C++ forbids initialization of member 'Value'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:482: error: making 'Value' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:483: error: ISO C++ forbids initialization of member 'OldValue'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:483: error: making 'OldValue' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:486: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:492: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:503: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:509: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:520: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:526: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:533: error: ISO C++ forbids initialization of member 'Index'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:533: error: making 'Index' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:533: error: ISO C++ forbids in-class initialization of non-const static member 'Index'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:536: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:536: error: ISO C++ forbids initialization of member 'OnReceiveObject'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:536: error: making 'OnReceiveObject' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:536: error: invalid in-class initialization of static data member of non-integral type 'OpenWire::Object*'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:537: error: 'nullptr' was not declared in this scopeC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:537: error: ISO C++ forbids initialization of member 'OnIndexedReceive'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:537: error: making 'OnIndexedReceive' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:537: error: invalid in-class initialization of static data member of non-integral type 'void (OpenWire::Object::*)(int, void*)'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:540: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:548: error: expected `;' before '}' tokenC:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:556: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:561: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:574: error: expected ';' before 'override'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:579: error: expected `;' before 'public'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h: In instantiation of 'Mitov::SimpleList<OpenWire::Component*, unsigned int>':C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:586: instantiated from hereC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: invalid in-class initialization of static data member of non-integral type 'OpenWire::Component**'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:262: error: ISO C++ forbids in-class initialization of non-const static member 'Mitov::SimpleList<OpenWire::Component*, unsigned int>::_size'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h: In instantiation of 'Mitov::SimpleList<OpenWire::Component*, unsigned char>':C:\Users\Patryk\Documents\Arduino\libraries\Mitov/OpenWire.h:595: instantiated from hereC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:261: error: invalid in-class initialization of static data member of non-integral type 'OpenWire::Component**'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov_SimpleList.h:262: error: ISO C++ forbids in-class initialization of non-const static member 'Mitov::SimpleList<OpenWire::Component*, unsigned char>::_size'In file included from Generated.ino:11:C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:97: error: ISO C++ forbids initialization of member 'Alpha'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:97: error: making 'Alpha' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:97: error: ISO C++ forbids in-class initialization of non-const static member 'Alpha'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:523: error: ISO C++ forbids initialization of member '_BytesSize'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:523: error: making '_BytesSize' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:523: error: ISO C++ forbids in-class initialization of non-const static member '_BytesSize'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:544: error: ISO C++ forbids initialization of member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:544: error: making 'Enabled' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:544: error: ISO C++ forbids in-class initialization of non-const static member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:567: error: ISO C++ forbids initialization of member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:567: error: making 'Enabled' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:567: error: ISO C++ forbids in-class initialization of non-const static member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:604: error: ISO C++ forbids initialization of member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:604: error: making 'Enabled' staticC:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:604: error: ISO C++ forbids in-class initialization of non-const static member 'Enabled'C:\Users\Patryk\Documents\Arduino\libraries\Mitov/Mitov.h:613: error: expected ';' before 'override'Generated:68: error: expected `;' at end of inputGenerated:68: error: expected `}' at end of inputGenerated:68: error: expected unqualified-id at end of inputGenerated:68: error: expected `}' at end of inputAnd it is a program: //----------------------------------------------//// Sketch Generated by Visuino// www.visuino.com////----------------------------------------------#define VISUINO_ARDUINO_NANO#include <OpenWire.h>#include <Mitov.h>#include <Mitov_FormattedSerial.h>#include <Wire.h>#include <Mitov_Basic_I2C.h>#include <Visuino_LiquidCrystal_I2C.h>#include <Mitov_LiquidCrystalDisplay.h>#include <Mitov_DHT_Sensor.h>#include <Mitov_Timing.h>// Declarationsnamespace Declarations{ Mitov::LiquidCrystalDisplayI2C LiquidCrystalDisplay1( new LiquidCrystal_I2C( 0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE ), 16, 2 ); Mitov::LiquidCrystalElementTextField TArduinoLiquidCrystalElementTextField1( LiquidCrystalDisplay1 ); Mitov::LiquidCrystalElementAnalogField TArduinoLiquidCrystalElementAnalogField1( LiquidCrystalDisplay1 ); Mitov::LiquidCrystalElementTextField TArduinoLiquidCrystalElementTextField2( LiquidCrystalDisplay1 ); Mitov::LiquidCrystalElementAnalogField TArduinoLiquidCrystalElementAnalogField2( LiquidCrystalDisplay1 ); Mitov::LiquidCrystalElementDefineCustomCharacter TArduinoLiquidCrystalElementDefineCustomCharacter1( LiquidCrystalDisplay1, 0, 12, 18, 18, 12, 0, 0, 0, 0 ); Mitov::LiquidCrystalElementCustomCharacterField TArduinoLiquidCrystalElementCustomCharacterField1( LiquidCrystalDisplay1 ); Mitov::LiquidCrystalElementTextField TArduinoLiquidCrystalElementTextField3( LiquidCrystalDisplay1 ); Mitov::DHT11Sensor<2> HumidityThermometer1; Mitov::ClockGenerator ClockGenerator1;} // Declarations//The setup function is called once at startup of the sketchvoid setup(){ Wire.begin(); Declarations::TArduinoLiquidCrystalElementTextField1.InitialValue = "Temp:"; Declarations::TArduinoLiquidCrystalElementTextField1.Width = 10; Declarations::TArduinoLiquidCrystalElementAnalogField1.Precision = 1; Declarations::TArduinoLiquidCrystalElementAnalogField1.Width = 4; Declarations::TArduinoLiquidCrystalElementAnalogField1.Column = 10; Declarations::TArduinoLiquidCrystalElementTextField2.InitialValue = "Humidity:"; Declarations::TArduinoLiquidCrystalElementTextField2.Width = 10; Declarations::TArduinoLiquidCrystalElementTextField2.Row = 1; Declarations::TArduinoLiquidCrystalElementAnalogField2.Precision = 1; Declarations::TArduinoLiquidCrystalElementAnalogField2.Width = 4; Declarations::TArduinoLiquidCrystalElementAnalogField2.Column = 10; Declarations::TArduinoLiquidCrystalElementAnalogField2.Row = 1; Declarations::TArduinoLiquidCrystalElementCustomCharacterField1.Index = 0; Declarations::TArduinoLiquidCrystalElementCustomCharacterField1.Column = 15; Declarations::TArduinoLiquidCrystalElementTextField3.InitialValue = "%"; Declarations::TArduinoLiquidCrystalElementTextField3.Column = 15; Declarations::TArduinoLiquidCrystalElementTextField3.Row = 1; Declarations::HumidityThermometer1.TemperatureOutputPin.Connect( Declarations::TArduinoLiquidCrystalElementAnalogField1.InputPin ); Declarations::HumidityThermometer1.HumidityOutputPin.Connect( Declarations::TArduinoLiquidCrystalElementAnalogField2.InputPin ); Declarations::ClockGenerator1.OutputPin.Connect( Declarations::HumidityThermometer1.ClockInputPin ); OpenWire::Component::_SystemInit();}// The loop function is called in an endless loopvoid loop(){ OpenWire::Component::_SystemLoop();}Please help!

    View Instructable »