This repository has been archived on 2022-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
AtTiny_alarm_clock/main.c

24 lines
287 B
C
Raw Normal View History

2018-07-10 19:52:25 +02:00
/*
2018-07-16 13:56:43 +02:00
* AtTiny_alarm_clock.c
2018-07-10 19:52:25 +02:00
*
2018-07-16 13:56:43 +02:00
* Created: 16.07.2018 13:55:13
2018-07-10 19:52:25 +02:00
* Author : dozed
*/
2018-07-16 13:56:43 +02:00
#include <avr/io.h>
2018-07-16 17:11:33 +02:00
#include "lcd4.h"
2018-07-10 19:52:25 +02:00
2018-07-10 20:33:21 +02:00
2018-07-10 19:52:25 +02:00
int main(void)
{
2018-07-16 14:48:48 +02:00
DDRB = 0xff;
2018-07-16 17:11:33 +02:00
lcd_init();
lcd_write(here, "t", 0);
2018-07-16 13:56:43 +02:00
/* Replace with your application code */
while (1)
{
2018-07-16 14:48:48 +02:00
PORTB = 0xAA;
2018-07-10 19:52:25 +02:00
}
}