During this week I worked on the board I made and flashed in Week 6.
This is the data sheet I read (I used one ATtiny44A).
Onestly the most useful info for me were the power spec and the pin position scheme.
I admit I didn't code a lot, I've just done it on the Arduino Ide, thought the FabIsp. By the way here's the link about the lightpainting tools i've made with this board. Basically I used pin3 as OUTPUT and 7 as INPUT, connecting respectively the led and the 10k trimmer. The button on the board works as trigger directly on the 5v trace.
{
int trimmer_value = 0;
void setup() {
pinMode(3, OUTPUT);
pinMode(7, INPUT);
}
void loop() {
trimmer_value = map(analogRead(7), 0, 1023, 1023, 0);
digitalWrite(3, HIGH);
delay(trimmer_value);
digitalWrite(3, LOW);
delay(trimmer_value);
} }