Thursday 6 March 2014

Quick Update

This is some code for an Arduino Leonardo that will receive character data from the serial pins, then echo the character through USB as keyboard input to the PC.
This will form the basis of a bigger project that'll be the subject of another post, but for now, here's the code:

void setup() {

void loop() {
  if (Serial1.available() > 0) {
    byte inChar =;

No comments:

Post a Comment