Keyboard firmwares for Atmel AVR and Cortex-M
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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