Skip to content

Commit

Permalink
Version 2.9a - 22nd September 2019
Browse files Browse the repository at this point in the history
Correct pin tests
  • Loading branch information
technoblogy authored Sep 22, 2019
1 parent aba2972 commit 09bd1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ulisp.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ void checkanalogread (int pin) {
#elif defined(__AVR_ATmega4809__)
if (!(pin>=14 && pin<=21)) error(ANALOGREAD, invalidpin, number(pin));
#elif defined(__AVR_ATtiny3216__)
if (!(pin>=0 && pin<=5) || !(pin>=8 && pin<=9) || !(pin>=14 && pin<=17)) error(ANALOGREAD, invalidpin, number(pin));
if (!(pin>=0 && pin<=17)) error(ANALOGREAD, invalidpin, number(pin));
#endif
}

Expand Down Expand Up @@ -3838,7 +3838,7 @@ void initenv () {

void setup () {
Serial.begin(9600);
#if defined(ARDUINO_AVR_NANO_EVERY) || defined(__AVR_ATtiny3216__)
#if defined(ARDUINO_AVR_NANO_EVERY)
delay(2500);
#else
int start = millis();
Expand Down

0 comments on commit 09bd1f0

Please sign in to comment.