Skip to content

Triage & migrate ESP32 sketches for Arduino core v3.x (lesson-aware) #12

Description

@jonfroehlich

~12 ESP32 sketches written for core v2.x fail to compile on v3.x (the version a new student installs today). We're standardizing on v3.x.

IMPORTANT process: check each sketch's physcomp lesson first — the lesson may have already moved to a new approach, making the sketch legacy (mark + exclude) rather than a migration target. The ESP32/Tone/ folder turned out this way and is now marked legacy (see docs/legacy-sketches.md).

Remaining candidates

  • ledcSetup/ledcAttachPinledcAttach: Fade, PotFade, PwmTestAllPinsSequence, PwmTestAllPinsSimultaneous, Sensors/PhotoresistorLed, WiFi/IoTWeatherDemo
  • analog pin constants (A1, …): AnalogInputTest, WiFi/WiFiAnalogInputTest
  • LED_BUILTIN undefined on the Dev Module: Bluetooth/BluetoothPot, Bluetooth/HelloBluetooth
  • hallRead() removed in v3.x: HallEffectSensing (likely retire)
  • WiFi/IoTPhotoresistorLed: needs the Adafruit IO Arduino library installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions