Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. C:\Users\krist\Desktop\Brad\Arduino\libraries\ButtonDebounce-master\src/ButtonDebounce.h:11:14: error: 'function' in namespace 'std' does not name a template type
  2.  
  3. typedef std::function<void(const int)> ButtonCallback;
  4.  
  5. ^~~~~~~~
  6.  
  7. C:\Users\krist\Desktop\Brad\Arduino\libraries\ButtonDebounce-master\src/ButtonDebounce.h:20:5: error: 'ButtonCallback' does not name a type; did you mean 'ButtonDebounce'?
  8.  
  9. ButtonCallback _callBack = NULL;
  10.  
  11. ^~~~~~~~~~~~~~
  12.  
  13. ButtonDebounce
  14.  
  15. C:\Users\krist\Desktop\Brad\Arduino\libraries\ButtonDebounce-master\src/ButtonDebounce.h:26:22: error: 'ButtonCallback' has not been declared
  16.  
  17. void setCallback(ButtonCallback);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement