Comments (8)
I have encountered this problem, but not sure about the cause yet
As a side note, we really should set up a naming convention for these LEDs, so we are not calling them "green" or "ready", but rather something like "power", "warning", "trigger" and "inverted trigger". It's especially important in case of mismatched colors
from pyr0piezo.
Confirmed. This is behavior I've seen on all the 2.1.0 boards I put together but only became apparent in firmware v2.1.3+ IIRC.
@loredan or @foodbandlt just want you guys to be aware as well so if you come across anything in code that might explain that you can let me know. I'm assuming it's something to do with the setup function, or there may be a capacitance issue that needs correction in the startup
from pyr0piezo.
@loredan that's especially true as I mixed two batches of RGB 0606's in my container and apparently the colors are rearranged between them.
from pyr0piezo.
I called it a ready light since the silksceen layer appears to show as RDY. :) Ready layer one.
from pyr0piezo.
@klcjr89 That's exactly right, but each of the RGB LED's channels correspond to a different function.
At the moment on the Rev.2.1.0's that got sent out:
Red= Power (Vcc input is high)
Green= Calibration Alert
Blue=Trigger (which appears to not be working correctly. Fixing it in 2.2.0)
from pyr0piezo.
Oh! had no idea there was a blue led in there too; nice!
from pyr0piezo.
@klcjr89 ok I figured out the issue
Back in v1.x.x firmware, I wasn't using a task scheduler and the reset of the trigger was handled by the main loop. Now it's handled by the interrupt function.
Here's the fun bit. on boot, the trigger LED blinks several times in order to indicate it's starting up, and it's done via inverting a pin by a count which is doubled in the setup function, which makes it always have an even number. What happens if you flip a switch twice? It goes on and stays off. So yeah I just need to add a +1 to the part of the setup code that doubles the blink count flip-flop and that should fix it.
from pyr0piezo.
fixed in f8efc3d
from pyr0piezo.
Related Issues (20)
- [BUG] For VFOL and VCOMP input, parameters don't take immediately HOT 1
- [FR] Add support for either active high or active low logic HOT 1
- [MOUNT] ADIMLab Gantry-S HOT 4
- [FR]Reprap 2 and 3 Configuration HOT 4
- [FR]5v and 3.3v option using LM317 HOT 1
- [MOUNT] Railcore II ZL/ZLT HOT 6
- PP_VERSION not defined HOT 2
- [FR] Add motor stall detection to FFC cable chain
- [FR] Add E-Mot header to FFC-X-Mot board
- -f upload flag in platformio.ini [BUG] HOT 1
- [FR]Klipper-config.md Lost? HOT 3
- [MOUNT]Voron2.4or1.8orZero HOT 1
- [FR]BIGTREETECH-SKR-V1.3 How to install itοΌ HOT 1
- BLV MGN Cube (CoreXY type) under bed
- Board burned out HOT 21
- [MOUNT] HOT 1
- [MOUNT] Ultimaker 2+ HOT 12
- [MOUNT] E3D Hemera on Ender3 HOT 3
- [MOUNT] HOT 1
- [MOUNT] FlyingBear Reborn 2
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 pyr0piezo.