Update to Arduino API 1.5.0 #2126

Closed
earlephilhower wants to merge 3 commits from api15 into master
earlephilhower commented 2024-04-26 01:50:38 +03:00 (Migrated from github.com)
No description provided.
earlephilhower commented 2024-04-26 03:39:47 +03:00 (Migrated from github.com)

Looks like there are examples in the IDE itself with errors with the latest 1.5.0 API. Will sit on this one a bit...

/home/runner/arduino_ide/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino: In function 'void loop()':
/home/runner/arduino_ide/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino:69:26: error: invalid conversion from 'int' to 'PinStatus' [-fpermissive]
   69 |     digitalWrite(ledPin, ledState);
      |                          ^~~~~~~~
      |                          |
      |                          int
Looks like there are examples in the IDE itself with errors with the latest 1.5.0 API. Will sit on this one a bit... ```` /home/runner/arduino_ide/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino: In function 'void loop()': /home/runner/arduino_ide/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino:69:26: error: invalid conversion from 'int' to 'PinStatus' [-fpermissive] 69 | digitalWrite(ledPin, ledState); | ^~~~~~~~ | | | int ````
earlephilhower commented 2024-05-16 02:33:37 +03:00 (Migrated from github.com)

Quick check shows the warning seen here isn't in the 2.2.x IDE, so it's something they've fixed. We do CI w/1.x so therein lies the rub.

Quick check shows the warning seen here isn't in the 2.2.x IDE, so it's something they've fixed. We do CI w/1.x so therein lies the rub.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.