Node.js and blinking keyboards

keyboard_morse_code_nodejs

Did you ever want to make your keyboard back light (or any other light source you can control with a bash command) show Morse code?

keyboard_morse_code_nodejs

I have and since I’m primarily back on Linux now, this wasn’t a hard thing to do. For the first time I really looked at executing bash commands from inside node.js. The very quickly written and barely documented source is to be found here: https://github.com/JonathanMH/morse-board

Luckily somebody already wrote a module for the hard work in this: morse and for giving me less headaches with control flow: async.

Enjoy the quick YouTube demo below and tell me if you make anything in your home blink!

Leave a Reply

Your email address will not be published. Required fields are marked *