Hi! Just something I've observed when trying out a library made for Arduinos, in RP2040. The following code in Arduino boards defines the pin as input pullup but doesn't work for RP2040s core.
As far as I can see, any of these enum values can be used in the pinMode() function. However, the cross correspondence for some of them makes no sense. For example, INPUT = PullNone = PushPullNoPull.
// C++ code // include the library code: #include // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int ultrasonic = 0; long ...