Hi Guys,
I've written a button class and an encoder class independently of each other, both working correctly by themselves however when combined into one sketch with their appropriate .cpp & .h files included, they don't seem to work.
Anyone come across this before?
Cheers,
M
EDIT: Fixed. Forgot to initialize some variables in each class.
I've written a button class and an encoder class independently of each other, both working correctly by themselves however when combined into one sketch with their appropriate .cpp & .h files included, they don't seem to work.
Anyone come across this before?
Cheers,
M
EDIT: Fixed. Forgot to initialize some variables in each class.
Last edited: