I have found an assembly code as follows blink.asm To blink the onboard LED of my Arduino uno (ATmega328P processor). I tried to compile the code to hex by this command But I receive How to fix these errors? My OS is Ubuntu 16.04. Answer This error tell you that the assembler does not know what you mean by PD…
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 …
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. T…
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:…
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). T…
Serial Communication with Arduino using Java RXTX in linux
I am trying to connect Arduino using java program and it gives out error when sending data from the pc to arduino from a serial-connection and the program crashes And these are my initialization methods and send methods for serial Initialization of Serial Connection Sending data via Serial Connection Serial c…
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 con…