Arduino sketch from truth table

I used masks so I don't understand what you mean.. :slight_smile: