led.h 356 B

12345678910111213141516171819
  1. #define RS (_BV(1))
  2. #define CE (_BV(4))
  3. #define CLK (_BV(2))
  4. #define DIN (_BV(0))
  5. #define LEDPORT PORTB
  6. #define LEDDDR DDRB
  7. #define LED_CON0 0x4b //7f
  8. #define LED_CON1 0x80
  9. #define display() LEDPORT &= ~CLK
  10. void send_config(unsigned char c);
  11. void putchar(unsigned char c);
  12. //void display(void);
  13. void disp_init(void);
  14. //void puttext(const char *text);