Advertisement
NoSloppy

Untitled

Jul 31st, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #ifdef CONFIG_BOTTOM
  2. StandardDisplayController<64, uint64_t> display_controller;
  3. SSD1306Template<64, uint64_t> display(&display_controller);
  4. #endif
  5.  
  6. For bullet counts, you’ll want something like:
  7.  
  8.  
  9. #ifdef CONFIG_BOTTOM
  10. DisplayHelper<64, uint64_t,
  11. BaseLayerOp<StandardDisplayController>,
  12. ClearRectangleOp<10, 50, 8, 24>, // was ClearRectangleOp<10, 80, 8, 24>,
  13. WriteBulletCountOp<10, 20, 3> // <x?, y?, #of digits>
  14. > display_controller;
  15. SSD1306Template<64, uint64_t> display(&display_controller);
  16. #endif
  17.  
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement