Combined Classes

Status
Not open for further replies.

mtiger

Well-known member
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.
 
Last edited:
Status
Not open for further replies.
Back
Top