This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
Distancer/Distancer.cpp

28 lines
297 B
C++

#include "Hardware.h"
#include "MyLcd.h"
#include <avr/io.h>
extern "C" void __cxa_pure_virtual(void)
{
}
int main()
{
MyLcd lcd;
delay_ms(40);
lcd.initDisplay();
uint16_t counter = 0;
while (true)
{
lcd.clear();
lcd.output(counter++);
lcd.output('s');
delay_ms(1000);
}
}