neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
951 stars 191 forks source link

encoder pcint.h is missing #260

Closed valsesro closed 4 years ago

valsesro commented 4 years ago

When trying to compile lcd example, I get this error C:\SPB_DATA.platformio\lib\ArduinoMenu library_ID1468\src/menuIO/encoderIn.h:13:56: fatal error: pcint.h: No such file or directory . I tried to install AnotherPcintLibrary that is meant in encoderIn.h but get same arror. Files in AnotherPcintLibrary ara named YetAnotherPcInt so It doesn't correspond to pcint.h used in menu library.

valsesro commented 4 years ago

When I changed the names of AnotherPcintLibrary to pcint.h, there is another problem 'PCattachInterrupt' was not declared in this scope and 'mixHandler' was not declared in this scope

neu-rah commented 4 years ago

what board and IDE are you using? if on arduino IDE install the libs using the "library manager" (remove old ones first if installed otherwise)

valsesro commented 4 years ago

I am using arduino micro with arduino IDE 1.8.9 but same problem I have with Platformio Home 2.33 / core 4.0.3

neu-rah commented 4 years ago

we are talking of this https://github.com/neu-rah/PCINT library, right?

valsesro commented 4 years ago

Thanks, I accidentally used another library, but when I installed provided librarry I always get error lib\PCINT-master\src\pcint.h:62:56: error: 'pcintPinMap' was not declared in this scope

valsesro commented 4 years ago

Ok, I got it to work, defining pin map for AtMega32U4. Thank you for all your replies.