I'm trying to fade an RGB LED using an Attiny84@8 MHz. Connet an RGB LED to phisical pins 5-6-7 (digital pins 2-3-4) and try this code: [ code snipped ] You'll see that only the red signal fades; the other 2 stay off.
I'm very happy to hear this from you...
Do you remember this problem:Linux Kernel 3.0 stopped ArduinoISP working
Start thinking to switch to PIC for their Linux support....
QuoteStart thinking to switch to PIC for their Linux support.... Noooo! You must not fall to the Darkside!
I think Atmel has a "supported" Linux toolset available from their website. I believe they even have two (or more) binary packages available.
Have you tried the toolset available from Atmel?
They do, and this is where Debian/Ubuntu's tool chain directly comes from:http://distribute.atmel.no/tools/opensource/avr-gcc/Also, here are precompiled binaries (32 and 64 bit)http://www.atmel.com/dyn/products/tools_card.asp?tool_id=17311&category_id=163&family_id=607&subfamily_id=1965http://www.arduino.cc/playground/Linux/Debianhttp://www.arduino.cc/playground/Linux/Ubuntu
#if defined( __AVR_ATtinyX5__ )// ATMEL ATTINY45 / ARDUINO//// +-\/-+// Ain0 (D 5) PB5 1| |8 VCC// Ain3 (D 3) PB3 2| |7 PB2 (D 2) INT0 Ain1// Ain2 (D 4) PB4 3| |6 PB1 (D 1) pwm1// GND 4| |5 PB0 (D 0) pwm0// +----+// these arrays map port names (e.g. port B) to the// appropriate addresses for various functions (e.g. reading// and writing) tiny45 only port B