Comments (9)
It should be fairly easy to do. I have another project in the planning stages that will require software PWM, just no time to work on it yet.
from espixelstick.
Great! Thanks. Looking forward to test it.
from espixelstick.
I have some hardware arriving soon which could really use this feature.
Did you get anywhere ? If not I'll probably do it in the next couple of weeks.
I'll add a gpio/PWM tab to the GUI with 3 columns:
Gpio, enabled, dmx channel
12 [x] 1
4 [x] 2
from espixelstick.
@penfold42 I hadn't done anything with this yet. If you decide to work on it, I'd like to keep it as a different compile time "Mode", like Pixel and Serial as the hardware most people use this on (ESPixelStick) wouldn't allow for mixed capability due to lack of available pins (ESP-01).
from espixelstick.
Will do - I just got the basics working 5 mins ago.
Ideally I'd like to keep it as separated as possible but the globals being in the same .h with all the structure makes it trickier - a subtle hint to peek at my other PR !
from espixelstick.
https://github.com/penfold42/ESPixelStick/tree/pwm?files=1
It's basically done - the GUI layout looks crap at the moment but it works.
I've only tested gpio4 with a mosfet driving a 5w 12v dimmable led halogen replacement bulb.
from espixelstick.
I've fixed the layout and confirmed support for most of the gpios.
I just need to hide the HTML config if support isn't compiled in.
Do you mind if I change device mode to be a bitfield? Pwm can coexist with both serial and pixel modes and this is a quick way to support it.
Bit 0 pixel, bit 1 serial, bit 2 pwm
Would yield:
0 invalid
1 pixel
2 serial
3 invalid
4 invalid
5 pixel + pwm
6 serial + pwm
from espixelstick.
All done! (I hope)
#66
from espixelstick.
And now removed from this repo as of today.
I’ll be maintaining this support in my repo along with other features:
https://github.com/penfold42/ESPixelBoard/tree/ESPixelBoard?files=1
from espixelstick.
Related Issues (20)
- Unable to control 12v puck lights HOT 1
- ESPixelStick-4.0-beta5 - Output issue WS2811 HOT 4
- APA102 Support HOT 18
- publish Temerature values to MQTT
- OLED Support? HOT 1
- SD Card not installed HOT 13
- ESPixelStick-4.0-beta5 Multi LED Protocol Output Bug HOT 10
- Can't connect HOT 24
- SoftAP uses target SSID instead of own ID HOT 13
- WebUI Update (EFU file) HOT 12
- Dig Octa ethernet connection issues HOT 1
- restore configuration issue (on dig octa) HOT 18
- serial port freaks out after specific output config (dig octa) HOT 4
- esp32_devkitc GPIO settings HOT 3
- Please add name support to the MQTT broker fields. HOT 15
- universe zero in artnet mode doesn't seem to work
- Led for simple monitor activity HOT 2
- SACN problem in priority HOT 4
- Issue running Output 4 with SD card on ESP32 Mini HOT 11
- GPIO problems with wemos D1 mini Pro HOT 1
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 espixelstick.