An Arduino core for the Attiny13 processors designed with small size in mind.

*Support*: http://arduino.cc/forum/index.php/topic,89781.0.html

Currently supported functions:
* = Partial support
map()
random()
randomSeed()
millis()
micros()
delay()
delayMicroseconds() *
analogRead()
analogWrite()
pinMode()
digitalRead()
digitalWrite()
pulseIn() (Untested)
shiftIn() (Untested)
shiftOut() (Untested)

If you find any issues be sure to make sure you are using the latest version first.

Project Activity

See All Activity >

Categories

Embedded Systems

License

Other License

Follow Core13

Core13 Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
3
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • I used this code to test: int ledPin = 0; // led PB0 int inPin = 3; // button PB3 int val = 0; // variable for reading the pin status void setup() { pinMode(ledPin, OUTPUT); // declare LED as output pinMode(inPin, INPUT); // declare pushbutton as input } void loop(){ val = digitalRead(inPin); // read input value if (val == HIGH) { // check if the input is HIGH (button released) digitalWrite(ledPin, LOW); // turn LED OFF } else { digitalWrite(ledPin, HIGH); // turn LED ON } } compile succesfull but digitalRead is not working on attiny13A :/
  • Thanks a lot for your works.... If you like, i have do a full support for the micros() function (that i need in 1 of my project)!!! If you use only the micros(), it use less space!!! Here is the code to add in the Wiring.C : unsigned long micros(){ unsigned long x; asm("cli"); /*Scale number of timer millisecondoverflows tos*/ #if F_CPU == 128000 x = ovrf * 2000; #elif F_CPU == 600000 x = ovrf * 427; #elif F_CPU == 1000000 x = ovrf * 256; #elif F_CPU == 1200000 x = ovrf * 213; #elif F_CPU == 4000000 x = ovrf * 64; #elif F_CPU == 4800000 x = ovrf * 53; #elif F_CPU == 8000000 x = ovrf * 32; #elif F_CPU == 9600000 x = ovrf * 27; #elif F_CPU == 10000000 x = ovrf * 26; #elif F_CPU == 12000000 x = ovrf * 21; #elif F_CPU == 16000000 x = ovrf * 16; #else #error This CPU frequency is not defined #endif asm("sei"); return x; }
    1 user found this review helpful.
  • thanks for great work! but currently I'm not able to run ATtiny13V if any analogRead or digitalRead occurs in the code.
Read more reviews >

Additional Project Details

Programming Language

C

Related Categories

C Embedded Systems Software

Registered

2012-02-01