Jan-02-2021, 11:35 PM
Sorry for crossposting.
The whole story short. Im a musician. I thought I could build a controller for a synth (knowing close to nothing about coding and definitely nothing about electronics).
I try with Arduino (I already had a working interrupt code), learnt C, but I needed more procesing speed. Now Im trying with Raspberry pi zero w. I learnt a lot but theres always a new obtacle.
The lastest one.
Someone said that python doesnt support interrupt. And read something like that somewhere else.
I saw a few tutorials with buttons, where the interrupt is activated by bridging interrupt to gropund, but my interrupt is on the Adafruits Neotrellis board (https://learn.adafruit.com/adafruit-neotrellis), and doesnt seem to work.
So. Here are my options.
1. I dont use interrupt. I came up with a way to stop/start the trellis.sync using ¨if¨ in the while loop.
This is the least useful option for me.
2. I try with Micropython. Someone suggested it could work.
3. I try with C++. But I dont know if the Arduino librarys would work on rasp with C++
Any encouragement word is welcomed.
The whole story short. Im a musician. I thought I could build a controller for a synth (knowing close to nothing about coding and definitely nothing about electronics).
I try with Arduino (I already had a working interrupt code), learnt C, but I needed more procesing speed. Now Im trying with Raspberry pi zero w. I learnt a lot but theres always a new obtacle.
The lastest one.
Someone said that python doesnt support interrupt. And read something like that somewhere else.
I saw a few tutorials with buttons, where the interrupt is activated by bridging interrupt to gropund, but my interrupt is on the Adafruits Neotrellis board (https://learn.adafruit.com/adafruit-neotrellis), and doesnt seem to work.
So. Here are my options.
1. I dont use interrupt. I came up with a way to stop/start the trellis.sync using ¨if¨ in the while loop.
This is the least useful option for me.
2. I try with Micropython. Someone suggested it could work.
3. I try with C++. But I dont know if the Arduino librarys would work on rasp with C++
Any encouragement word is welcomed.