Kategorie: C-Language

  • Arduino photo resistor with potentiometer++

    If we knew what we were doing, it wouldn’t be called research.  Albert Einstein In https://www.youtube.com/watch?v=dp_gSye8ke4 Dom’s MOBa channel the author wants to improve a simple photo resistor sketch/circuit by throwing a potentiometer into the game. His primary idea seems to be: with a separate potentiometer he could adjust the threshold of the circuit without […]

  • How to control effects via MIDI with a Teensy 3.6/LC

    Introduction A friend of mine, a keen professional guitar player, wanted a small box to control settings of a looper (a box with which can be used to store audio fragments, loop and stack these fragments). MVP MIDI out (DIN) at least three (configurable) push buttons which send a MIDI control change message a configurable […]

  • Arduino state machines with function pointers

    Rudysmodelrailway implements a railway crossing with blinking lights by introducing a state rdudiagram, which he then in turn implements by switch statements. Here is my take on the state diagram of a (one way) railway crossing with sensor S1 detecting an incoming train and sensor S2 detecting if the train has passed the crossing: This looks a […]