Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328P"
OLED1:20: error: could not convert 'display.Adafruit_SSD1306::begin(2u, 60u, true)' from 'void' to 'bool'
if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { // Adresa 0x3C za 128x32 displej
^
OLED1:20: error: in argument to unary !
Using library Wire at version 1.0 in folder: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire
Using library Adafruit_SSD1306-master at version 1.1.2 in folder: C:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SSD1306-master
Using library SPI at version 1.0 in folder: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\SPI
Using library Adafruit-GFX-Library-master at version 1.2.9 in folder: C:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit-GFX-Library-master
Using library DHT-sensor-library-master at version 1.3.7 in folder: C:\Users\dkaludjerovic\Documents\Arduino\libraries\DHT-sensor-library-master
Using library Adafruit_Sensor-master at version 1.0.2 in folder: C:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_Sensor-master
exit status 1
could not convert 'display.Adafruit_SSD1306::begin(2u, 60u, true)' from 'void' to 'bool'