I can't seem to make these guys co exist. ESP32 locks up. Tried many different IO's and several encoders. Am I missing something?
This is a snippet but shouldn't conflict...
Thanks
Zim
Code: [Local Link Removed for Guests]
'
TM1638.SETUP 21, 22, 23 'LED display
TM1638.PRINT "on",1
count = 1
mnutrk = 1
S1 = 26 'encoder
S2 = 27 'encoder
PB = 33 'encoder push button
pin.mode S1, input
pin.mode S2, input
pin.mode PB, input
interrupt S1, encoder
interrupt PB, Pbutton
TM1638.PRINT "Off",1
wait
encoder:
wlog "sw"
wait
Pbutton:
wlog "Button"
wait
end