hi everybody
I just bought a Leonardo to use it as a USB to MIDI "in" to switch some relays.
I ve been able to load a basic code that tells me my Leonardo works and is already recognised by my apple MacBook Pro as a midi device .
I am using the midiUSB library but...
I have very basic knowledge of programming the arduino.
I am looking for someone that could help me write the code that will do the following.
when I press a key on my stream deck it generate a midi note (working right now).
Note is transmitted to Leonardo trough USB (seems to works right now)
Leonardo read the note and activate one of the 4 relays (from my relay board).(not able to do myself)
Lets say the relais 1 is midi note 60 / relais 2 is note 61 etc etc ...
Would be good to be able to control the "relais timing" .
anyone would be interested ?
thanks
Phil
PS : I bought a 4 relays card : JBtek-Channel-Module-Arduino.