vtor 2 Napisano 17 listopada Jak w Arduino IDE 1.8.10 zamiast płytki UNO wybieram Atmega 328 ( wcześniej doinstalowana paczka MiniCore). To wywala mi komunikat invalid conversion from 'void (*)()' to 'void (*)(int)' [-fpermissive] i podświetla na czerwono linijkę z kodem Wire.onReceive (receiveEvent); Po wybraniu płytki UNO nie ma takiego problemu i kod kompiluje się bez problemu. Cytuj Udostępnij ten post Link to post Share on other sites
vtor 2 18 listopada Musi być np. void receiveEvent (int x){ } bez int x jest błąd. Cytuj Udostępnij ten post Link to post Share on other sites