Keyboard firmwares for Atmel AVR and Cortex-M
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

print.h 424B

1234567891011121314151617181920
  1. #ifndef PRINT_H__
  2. #define PRINT_H__ 1
  3. #include <stdbool.h>
  4. #include <avr/pgmspace.h>
  5. extern bool print_enable;
  6. // this macro allows you to write print("some text") and
  7. // the string is automatically placed into flash memory :)
  8. #define print(s) print_P(PSTR(s))
  9. void print_P(const char *s);
  10. void phex(unsigned char c);
  11. void phex16(unsigned int i);
  12. void pbin(unsigned char c);
  13. void pbin_reverse(unsigned char c);
  14. #endif