- Mon Jul 23, 2018 7:00 pm
#199797
I am able to program the Atto84 from the Arduino IDE, however, the pinouts do not match the silk screen labels on the board or documentation.
I have tested the pinouts and they as follows.
The atto84\pins_arduino.h file appears to be still using the old David Millis attiny84 DIP package layout.
I have tested the pinouts and they as follows.
Code: Select all
This is most likely due to an incorrect variants file under, \AppData\Local\Arduino15\packages\SparkFun\hardware\tiny\0.1.5\variants\atto84\pins_arduino.hSlikscreen pin Arduino IDE pin
4 6
5 5 (matches)
7 3
6 4
RST 11 (matches)
8 2 (LED_BUILTIN)
3 7
2 8
1 9
0 10
The atto84\pins_arduino.h file appears to be still using the old David Millis attiny84 DIP package layout.
Code: Select all
// ATMEL ATTINY84 / ARDUINO
//
// +-\/-+
// VCC 1| |14 GND
// (D 0) PB0 2| |13 PA0 (D 10) AREF
// (D 1) PB1 3| |12 PA1 (D 9)
// (D 11) PB3 4| |11 PA2 (D 8)
// PWM INT0 (D 2) PB2 5| |10 PA3 (D 7)
// PWM (D 3) PA7 6| |9 PA4 (D 6)
// PWM (D 4) PA6 7| |8 PA5 (D 5) PWM
// +----+