Skip to content
Advertisement

Tag: arduino

/dev/ttyACM0: permission denied on openSUSE

I am trying to use an “Arduboy,” based on the Arduino Leonardo, with the Arduino IDE. I cannot upload the example code, however, because of the following error: Before you mark this as a duplicate, here are all of the things I have tried Adding myself to the dialout group that /dev/ttyACM0 can be modified by Running chmod a+rw /dev/ttyACM0

Arduino and cpp file communication

I’ve connected a sensor with my Arduino board and am running a sketch which retrieves some data from the sensor and stores it in 4 double variables. I need to access these 4 variables from another .cpp file. To do this I’ve created a common header file for both which declares 4 extern variables. These are then defined in the

How to read from serial device in C++

I’m trying to figure out how I should read/write to my Arduino using serial communication in Linux C++. Currently I’m trying to read a response from my Arudino that I “trigger” with I’ve tried looking at the response from my Arduino in my terminal, by using the following command: This is working as it should. Now I want to do

How to use Arduino-Makefile with Sparkfun Pro Micro?

So, I am using Arduino-Makefile (https://github.com/sudar/Arduino-Makefile) and trying to program a 5V 16MHz Sparkfun Pro Micro (https://www.sparkfun.com/products/12640). I am using the versions of the Arduino libraries and Arduino-Makefile in the repository of the Linux distro I am using (Linux Mint 17.2). These versions are 1.0.5 and 1.3.1 respectively. My file structure looks like this: My test.ino is taken directly from

Use picocom – sending request

I’m sorry, but I don’t understand how use picocom to send a request/command to the device. Official doc: http://linux.die.net/man/8/picocom I want to be IN the OS I reach, I connect to an Arduino YUN using linux OS inside and I want to be root on it, it’s probably easy, I’m already connected but I don’t understand what I have to

Advertisement