Site Navigation

Your Account

Choose Language

Linux Programming Tips

In Progress

In Progress

This guide is currently being written. Reload periodically to see the latest changes.

User-Contributed Guide

User-Contributed Guide

This guide is not managed by the site's staff.

This guide contains tips for programming the hexbright in a Linux environment.

This is my first attempt at creating a guide, please forgive (and fix) mistakes. I didn't find many (any?) Linux tips in the search and wanted to collect them in one place. Please add more here.

As superuser I placed the following two lines in /etc/udev/rules.d/49-hexbright.rules so that upon USB connection the hexbright would automatically be connected (without needing to added to any groups or changing /dev/ttyUSB0 permissions):

  • SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
  • KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

One can use the Linux command 'screen /dev/ttyUSB0 9600' as an alternate to Arduino's serial monitor.

You're Done!

0 Comments

No comments.

Add Comment