Makefile funktioniert, gruenes Licht fuer C++
This commit is contained in:
parent
12d7441f1f
commit
99c282566f
7 changed files with 95 additions and 11 deletions
9
spi.h
9
spi.h
|
@ -4,7 +4,14 @@
|
|||
#include <util/delay.h>
|
||||
|
||||
class SPI {
|
||||
|
||||
public:
|
||||
SPI(void) {
|
||||
DDRB |= _BV(PB0);
|
||||
while(1) {
|
||||
PORTB ^= _BV(PB0);
|
||||
_delay_ms(1);
|
||||
}
|
||||
}
|
||||
|
||||
private: int d;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue