I’m getting a weird error when i try to run my code which is to display the ultrasonic sensor range i have it simple
from grovepi import*
i get an error
return (number *256 +number)
TypeError: ‘int’ object is not subscriptable
i saw a fourm where someone had the same problem but they just updated the firmware and it worked for them, however it doesn’t work for me. I updated it and it still makes the same error. D; please help! thanks!