Here is (sorry for the delay) the core to support ATmega644/1284 MCUs from the Arduino IDE updated for the release 1.6.7. No particular other changes done. Istructions on how to install it are available into the README file inside the package.
Official site
Here is (sorry for the delay) the core to support ATmega644/1284 MCUs from the Arduino IDE updated for the release 1.6.7. No particular other changes done. Istructions on how to install it are available into the README file inside the package.
Core to support programming of ATmega644/1284 from the Arduino IDE - Now updated for IDE 1.6.7
Platforms: | Qualunque S.O. |
---|---|
Requirements: | Arduino IDE 1.6.x |
Category: | Arduino |
License: | CC SA-NC-BY |
Date: | 20 February 2016 |
Leonardo Miliani
Appassionato di computer e programmazione da sempre. Altre passioni sono la fotografia, l'astronomia, il trekking, le scienze naturali, la bicicletta, i fuoristrada.
You must be logged in to post a comment.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Grazie!
Sarebbe possibile avere il core per l’1284P anche a 12 MHz?
È una frequenza che non va d’accordo con il timer ad 8 bit usato come base per il calcolo dei millisecondi. Non c’è prescaler che permetta una soluzione compatibile con le formule a base di direttive utilizzate nel core, che poi derivano di pari passo da quelle adottate dall’Arduino. Andrebbe studiata una soluzione alternativa, magari cambiando timer ed usandone uno a 16 bit. Ma non so quanto il gioco valga la candela, dato che i 12 MHz sono una frequenza pochissimo usata.
Hi Leonardo,
I’ve installed the core ATmega644/1284 MCUs for the Arduino IDE. I am having trouble accessing digital I/O pins. For example if I set PB4 physical pin 36 (PA1) is toggled. If i set PA4 again physical pin 36 (PA1) is the only one that changes.
*** Version for PB4 ***
#define PWRTMP_PIN PB4
void setup() {
pinMode(PWRTMP_PIN, OUTPUT);
}
void loop() {
digitalWrite(PWRTMP_PIN, HIGH);
delay(1000);
digitalWrite(PWRTMP_PIN, LOW);
delay(1000);
}
*** Version for PA4 ***
#define PWRTMP_PIN PA4
void setup() {
pinMode(PWRTMP_PIN, OUTPUT);
}
void loop() {
digitalWrite(PWRTMP_PIN, HIGH);
delay(1000);
digitalWrite(PWRTMP_PIN, LOW);
delay(1000);
}
Any suggestion where the problem might be?
My (begginer) mistake – I set “Bobuino” and used “10” and “17” instead of “PB4” and “PA4”.
Perfect
Hello Leonardo,
i have a problem with this sketch on ATmega1284p with you core.
LED does not on/off when changing the state at pin D3 (4). On ATmega2560 working fine
Can you help me?
const byte ledPin = 15;
const byte interruptPin = 3;
volatile byte state = LOW;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(interruptPin, INPUT_PULLUP);
attachInterrupt(3, blink, CHANGE);
}
void loop() {
digitalWrite(ledPin, state);
}
void blink() {
state = !state;
}