I decided to send this value over serial connection to my Arduino board. From there, I sent the value to an analog pin with a jumbo LED attached. The result? An LED that gets brighter the harder you press the pen down on the tablet. Here's a video:
July 4, 2014
Yet Another Cool Thing
Recently I found a library called proTablet, which allows a Processing sketch to read information from a graphics tablet like the Bamboo tablets from Wacom. One of the variables you can read is the pressure of the pen pressing down on the tablet.
I decided to send this value over serial connection to my Arduino board. From there, I sent the value to an analog pin with a jumbo LED attached. The result? An LED that gets brighter the harder you press the pen down on the tablet. Here's a video:
I decided to send this value over serial connection to my Arduino board. From there, I sent the value to an analog pin with a jumbo LED attached. The result? An LED that gets brighter the harder you press the pen down on the tablet. Here's a video:
Labels:
Arduino,
Processing
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment