Skip to content

Latest commit

 

History

History

Arduino

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

#Arduino code for the Teensy 3.6 microcontroller ##On host PC ###Setup Arduino https://www.arduino.cc/en/Guide/Linux
https://www.arduino.cc/download_handler.php?f=/arduino-1.8.1-linux64.tar.xz

###Setup Teensyduino https://www.pjrc.com/teensy/td_download.html
Save the text in the link below as a file named "49-teensy.rules"
https://www.pjrc.com/teensy/49-teensy.rules
sudo cp 49-teensy.rules /etc/udev/rules.d/

###Install ROS Kinetic packages and ros_lib sudo apt-get install ros-kinetic-rosserial-arduino ros-kinetic-rosserial -y

If there is a ros_lib in the arduino /sketchbook/libraries delete it
Remake the ros_lib library
rosrun rosserial_arduino make_libraries.py ~/sketchbook/libraries

Find ArduinoHardware.h in ros_lib edit line 44 to add support for Teensy 3.5 & 3.6
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
https://github.com/ros-drivers/rosserial/blob/jade-devel/rosserial_arduino/src/ros_lib/ArduinoHardware.h