~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/ledcAttachPin → ledcAttach: 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
~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 (seedocs/legacy-sketches.md).Remaining candidates
ledcSetup/ledcAttachPin→ledcAttach:Fade,PotFade,PwmTestAllPinsSequence,PwmTestAllPinsSimultaneous,Sensors/PhotoresistorLed,WiFi/IoTWeatherDemoA1, …):AnalogInputTest,WiFi/WiFiAnalogInputTestLED_BUILTINundefined on the Dev Module:Bluetooth/BluetoothPot,Bluetooth/HelloBluetoothhallRead()removed in v3.x:HallEffectSensing(likely retire)WiFi/IoTPhotoresistorLed: needs the Adafruit IO Arduino library installed