Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [terminal]

A terminal or command-line interface is a text-only interface for interacting with an operating system or a piece of software.

0
votes
0answers
253 views

Emulating a generic Mifare USB peripheral device with RFID-RC522

Hardware Dev Board: Arduino Nano V3.0 Module: RFID-RC522 13.56 MHz Cable: USB A - USB Mini B Configuration Physical Code /* * -------------------------------------------------------------------...
0
votes
0answers
184 views

Arduino Pro Mini ATmega 328P: garbage output on serial console

Arduino Pro Mini ATmega 328P 3.3V 8MHz, connected to USB port via USB to Serial breakout board built around the FT232RL FTDI chip. JTAGenum project code uploaded to the Arduino. I opened terminal and ...
0
votes
0answers
112 views

Different data showing in arduino serial and hyperterminal

I've connected to RS232 device with arduino. When showing data in arduino its showing as: 235 157 191 157 159 153 157 0 While in Hyperterminal it's showing as: 101 102 103 104 How to get the same ...
0
votes
1answer
37 views

if condition does not work

I'm trying to connect two Arduinos according to the example in Example I added a bit of debug prints so the code looks like: #include <Wire.h> // Include the required Wire library for I2C<...
4
votes
3answers
4k views

Upload code on Arduino Leonardo using command line

I'm trying to upload a compiled .hex file on an Arduino Leonardo, using the terminal. Uploading a sample code using the Arduino IDE works well, and from the Arduino IDE I got the upload command ...
1
vote
0answers
353 views

Arduino Geeetech Voice Module - CoolTerm not responding to commands [closed]

I am trying to use a Geeetech Voice Recognition Module to connect with the computer, along with a CP2102 USB to TTL module; but unfortunately, when I send any string, CoolTerm does not respond to it ...
1
vote
2answers
518 views

Use terminal command to verify software

I've seen that it is possible to use terminal command to verify software instead of using the IDE. Something like arduino --verify lab.ino. Is there a way to do so on Mac OS? Thank you
-1
votes
2answers
3k views

Running Arduino IDE in terminal?

Is there any way to use Arduino in the terminal? I have a USB 802.15.4 board that works with Arduino, but I don't want to use the IDE with it, I want to use the terminal.
0
votes
1answer
4k views

How do I give the ENTER keypress?

I have a Teensy set up as a keyboard, joystick, and I'm giving keyboard commands. Letter and number keys are going fine. But when I try sending ENTER, I get some extra code in my Linux terminal: $ ...
0
votes
1answer
54 views

Why does this method return an unprintable character, how do I convert it to display correctly?

Page 14 says that the method should return the value 'h17' typedef struct { uint8_t data; uint8_t timestamp; unsigned char crc; } tData; int main(void) { unsigned char* tempData = "snap"; ...
5
votes
3answers
4k views

esp8266 garbage out only when using SoftwareSerial

I'm trying to operate the esp8266. When I connect RX+TX pins to pins 1+2 on the Arduino, everything works fine. but when I'm trying to use software serial all hell breaks loose and the recieved data ...
0
votes
2answers
5k views

Sending data from txt file over serial connection

I'm trying to send data saved on a txt file to arduino over serial connection. I wrote this simple sketch void setup(){ Serial.begin(9600); } void loop(){ while (Serial.available() > 0) { ...
1
vote
1answer
2k views

How to upload an arduino sketch from java / processing?

I'm trying to upload a hex file from Java/Processing but running into some issues. Here is my code so far, based on the Arduino IDE's upload verbose output: void setup(){ //C:\Program Files (x86)\...
1
vote
0answers
1k views

Arduino Yun Serial Terminal Overflow Issues?

EDIT: after reading up on some stuff and with the help of the comments people left, I'm certain that it's an overflow issue, but I'm not sure how to solve that... So I just got an Arduino Yun today ...
2
votes
2answers
1k views

Serial.write() prints a variable twice

I have this code: #include <TinyGPS++.h> #include <SoftwareSerial.h> #define GPS_RX_PIN 2 #define GPS_TX_PIN 3 TinyGPSPlus gps; SoftwareSerial ss(GPS_RX_PIN, GPS_TX_PIN); void setup() {...
42
votes
10answers
170k views

How do I print multiple variables in a string?

Say I have some variables that I want to print out to the terminal, what's the easiest way to print them in a string? Currently I do something like this: Serial.print("Var 1:");Serial.println(var1); ...