Comments (4)
This is intentional behaviour to ensure that the modes in Python match the modes on the Ruggeduino.
from j5.
This currently silently breaks the code of every student who follows an arduino guide as the recommended code layout is to configure the pinmodes in the setup. This is then overridden by j5.
from j5.
Then we need to update the docs. This is how the old sr API behaved also, so I'm surprised it's gone unnoticed for this long.
from j5.
Additionally, there are possibly teams who are relying on this behaviour as we document the initial pin modes.
So at the very least, we can't change this until SR2024
from j5.
Related Issues (20)
- Ensure arduino pins are set as outputs when changing mode HOT 2
- Allow more custom instantiations of backends HOT 1
- StringCommandComponent does not fit naming convention
- Add `morse` method for `Piezo`
- Not all USB devices have a serial number
- Union between IntEnum and int is redundant HOT 1
- Show Error code specification on type: ignores
- Student Robotics 2023 Firmware HOT 1
- Add support for flashing LED state HOT 1
- Add Support for Backend Feature Flags
- SR Power Board v4 Serial Protocol: Add Support for 5V Output HOT 1
- Support silencing a buzzer where supported
- Incorrect regex for tags HOT 1
- When a board with a given serial number is not in BoardGroup, list available serials
- Replace `CommunicationError` with more specific error types HOT 2
- Ruggeduino Initialisation Test is not very clear
- SRv4 Motor Board Serial Firmware Support HOT 1
- SRv4 Servo Board Serial Firmware Support
- Implement support for KCH User LEDs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from j5.