User Profile
Collapse
-
Thanks for that information then I quess I just need to think of a different way to do it. Thanks alot. -
Array of Functions pointing to in Class functions with arduino
Hello all,
At the moment im trying out with pointing to an array of functions. I got this working as following:
...Code:typedef void (* functionPtr) (); functionPtr functions[2][2]={{do11,do12}, {do21,do22}}; void do11(){DEBUG_PRINTLN("11");} void do12(){DEBUG_PRINTLN("12");} void do21(){DEBUG_PRINTLN("21");} void do22(){DEBUG_PRINTLN("22");}
No activity results to display
Show More
Leave a comment: