-
Blinking and interrupts and stuff
11/27/2016 at 09:41 • 0 commentsWhen I started with the pin setting I first confused the pin direction setting byte with the state setting byte :D So I thought of breaking my code in peaces to fix the problems and start with the basics.
I found a library for the Attiny13A written by MCUdude on github - link is in the link section - that gives me a head start to use the Arduino IDE for coding. Feels weird saying that. Here's code for an LED flasher (german: "Wechselblinker") - two leds alternating the blinks.void setup() { // put your setup code here, to run once: DDRB = 0x03; //PORTB } void loop() { // put your main code here, to run repeatedly: PORTB = (1<<PB1) | (0<<PB0); delay( 1000); PORTB = (0<<PB1) | (1<<PB0); delay( 1000); }
I'll post the other code later.
-
1kB challenge
11/25/2016 at 21:11 • 0 commentsI thought it would make sense to send this project in for the challenge, since it's basically a servo without the feedback of the resistor.
First I need to solder some wires to the pins, Rev1 will definitely have some SPI headers on the bottom to program the attinys. Or I will have to tinker up something.
Not sure how the attiny13s will behave, they arrived today and I only thought "ah well, what the heck" and went on with it.
-
boards are in the making
10/13/2016 at 15:22 • 0 commentsI'm currently waiting for 6 board layouts to get back to me :D it's a little bit bigger than the 'original'.
-
Rescources
10/12/2016 at 09:33 • 16 comments