Pieter P

Results 492 comments of Pieter P

The motor controller sketch is hand-optimized for the ATmega328P, so it is not compatible with the ESP32-S2. The MIDI controller sketch should work on the ESP32-S2, though. Could you provide...

Most of the concepts are transferable, but you'd need to completely rewrite all the code related to the hardware timers, ADC and GPIO direct port manipulation. This will require detailed...

Sure, feel free to ask your questions here, but I can't promise much. I don't have much free time, unfortunately, and I've never used the ESP32-S2.

> fatal error: avr/io.h: No such file or directory AVR is the architecture of the ATmega328P microcontroller that the code was originally designed for. If you want to port it...

> Am I on the right pathway ? Hard to say, I'm not familiar enough with the ESP-IDF APIs to proofread your code. That said, experience taught me that ChatGPT...

I'll have a detailed look later today, but 100µF is way too large, you need a capacitor of ~100nF (1000× smaller). The capacitor you have now will introduce a huge...

Are you using the same tuning for all four faders? By default, the code has different tunings for demonstration purposes. You should also be able to get rid of most...

If the actual _references_ are getting out of sync (which might be the case, looking at the video), that probably means you're getting overrun. Try enabling the overrun indicator by...

To get actual MIDI output, you'll need to replace `USBDebugMIDI_Interface midi` by another MIDI interface, e.g. `USBMIDI_Interface midi` or `HardwareSerialMIDI_Interface midi{Serial}`. See https://tttapa.github.io/Control-Surface-doc/Doxygen/d3/df7/midi-tutorial.html for details. But unless the host is...

If you want to send/receive Control Change messages (which have status byte `0xB0`), you can use the `sendControlChange` and `onControlChange` functions. See e.g. https://tttapa.github.io/Control-Surface-doc/Doxygen/d5/d35/Send-All-MIDI-Messages_8ino-example.html and https://tttapa.github.io/Control-Surface-doc/Doxygen/da/d27/MIDI-Input-Fine-Grained-All-Callbacks_8ino-example.html. Specifically, you would have...