Here, have a tiny bit of Arduino code.