Open helicocrasher opened 11 months ago
ESP32 HW PWM now also working. 8 Channels on ESP32 S2
ESP32 HW PWM now also working. 8 Channels on ESP32 S2
Where is the code for this, perhaps you could create a PR? I'm interested in running this on an ESP32-C3.
Where is the code for this, perhaps you could create a PR? I'm interested in running this on an ESP32-C3.
You can just steal the code from ExpressLRS, which supports ESP32-S3 and the C3 has the same peripherals. I think ELRS might support the C3 directly as well as I know that's what everything is going to be shifting to,
Thanks, I'll take a look. My ulterior motive is to submit a PR to this project which adds VTX admin, VTX arming, and potentially a very limited implementation of voltage OSD. The goal being to be able to use this in a fixed wing without buying a full flight controller. How would you feel about those PRs?
How would you feel about those PRs?
I don't really want them 😅 I don't want to maintain this project considering ExpressLRS supports PWM output itself now so this project is obsolete.
How would you feel about those PRs?
I don't really want them 😅 I don't want to maintain this project considering ExpressLRS supports PWM output itself now so this project is obsolete.
I get that lol, problem is that ExpressLRS doesn't want to add VTX admin, but also a user might not want to buy a PWM-capable ELRS receiver and might find adding a $2 ESP devkit to be more attractive. The main motivation is not being able to get VTX admin in ELRS though.
I get it though, I'll create a fork if I ever get round to this.
If you wait long enough I bet ELRS will add smartaudio output. The receiver code is becoming more and more full of supporting everything a flight controller does so I think it is just a matter of time that everyone agrees SA support is worth it.
Good to know! Thanks!
@CapnBry
Thanks for that code.
I managed to get the CRSF link running on the wemos LolinS2_mini. The only challenge was to feed the used serial port in numbers to CRSR.begin() function, as on the ESP32 S2 they are not fixed. Seen a lot of beauty in the code ... CRSF serial telemetry, I learned a lot. Now merging some ESP HW PWM code to it.