damellis / attiny

ATtiny microcontroller support for the Arduino IDE
720 stars 226 forks source link

attiny84 Support Arduino 1.6.5 #98

Closed Raynman77 closed 8 years ago

Raynman77 commented 8 years ago

@damellis I'm having some issues with the attiny84. I'm using Arduino 1.6.5 and a Sparkfun AVR Tiny ISP programmer to flash the "rf24ping85.ino" to the attiny84 and changed the CE to #define CE_PIN 2 and CSN_PIN 3 in order to simply transmit from the attiny84 using a NRF24L01 radio to another NRF24L01 radio connected to an Arduino Pro Mini running the "Getting Started.ino". The attiny84 will not transmit.

I've run this same setup on an attiny85 and it works with no problem. The pins that I am using in my attiny84 sketch are correct but still no dice. I've also tried just a simple "Blink" sketch on the attiny84 to confirm that my pin definitions in my sketch are correct.

damellis commented 8 years ago

Sorry, I'm not sure what to suggest here. Do you know what features of the pins are being used (e.g. PWM or interrupts or analog input)? That might explain differences between microcontrollers.

In the meantime, I'm closing this, as it's not clear it's something we can fix in the ATtiny support itself.

Raynman77 commented 8 years ago

Problem solved when I used a tiny core suggested by another user and also changed the pinout in the config file to meet my needs. It works now. Thanks.