Questions tagged [print]
The print tag has no summary.
31 questions
0
votes
1
answer
2k
views
Construct Strings with UTF-8 characters from data
I am printing some ASCII art to the Serial monitor from Arduino UNO, with some success. However, using string literals uses more memory than I would like. I wanted to try constructing the strings/...
-1
votes
1
answer
116
views
Serial.parseInt works for first menu but now in a sub menu
I am trying to use the Serial object to print some lines giving the users some options to select by entering an int. It works at this main menu. But when the user selects 1 I use Serial again to print ...
2
votes
2
answers
6k
views
Printing the array using print and serial write function in Arduino Uno
I have, one program with only using printing array and other with serial write and print function for the array, while using serial write and print function I get these extra characters between the ...
1
vote
1
answer
3k
views
Arduino Serial.readString() trouble
Hello everyone I write my code and have some troubles.
When I write on in my serial monitor my buzzer condition wasn't changed.
Can you help me realize the reason. I wrote code with int type and it ...
1
vote
1
answer
1k
views
Printing vairable with U8GLib
I have this code that takes temperature and humidity values from a DHT11 sensor and number of faces from an external python code and prints them on an OLED screen but instead of values of variables it ...
0
votes
1
answer
201
views
Trying to do hello world app for Nokia 5110 LCD with arduino yun and johnny five
I have a Nokia 5110 LCD which is using this display PCD8544, I am using a arduino yun and johnny five I have hooked up the following pins. So far with my node app all that happens is the lcd lights up....
0
votes
1
answer
599
views
Serial Moniror, '\r' and Realterm
I'm wanting the results from each of the 6 ultrasound modules to print on their respected line after new results have been generated instead of spitting out a continuous flow (see attached image). I'...
0
votes
1
answer
94
views
Line not printing int in Serial Monitor
I'm trying to make a kernel for a macro-key maker, this is the starting page's code:
char m[] = "What do you want to do? Type the following commands in this "
"terminal:\nnew --> Creates a ...
1
vote
0
answers
29
views
Checking Specific Brand SIM card Type Available in GSM module
Can I program a GSM module to accept a specific type of Sim card to be ready by the module? If so please post something that can give me an Idea of how do it. Generally I want to lock the GSM module ...
0
votes
1
answer
924
views
Serial.print prints but lcd.print does not
The following code reads a txt file from a SD card, finds the corresponding character and prints the next 12 characters:
...
char temp;
byte who = random(1, 13); // 1 to 12
temp = ...
1
vote
0
answers
584
views
How can I read the serial output of STM32F103C8T6 from USB to Serial TTL?
I recently bought a STM32F103C8T6 board (blue pill)
I programming to it using the USB to Serial TTL I bought (CP2102).
I'm still taking very first steps and trying to figure out how to operate the ...
1
vote
1
answer
270
views
SyslogAppender for log4esp
I'd like to "merge" two Arduino libraires, namely log4Esp on one side and Syslog on the other, hence creating a syslog appender for log4esp.
My problem is that log4esp's Appender prototype expects a ...
0
votes
1
answer
979
views
DHT 11 sensors and i2c LCD to Wemos Wifi not Working
Its my first time make arduino project. I make wemos d1 project using DHT11 temperature sensor and LCD 20x4 with i2c. The temperature data will display in LCD and sending to the bot telegram. For ...
1
vote
2
answers
9k
views
Serial.print and char[] & null
I don't write a lot of C, so I'm always discovering things I only partly understand in the Arduino variety. One of these is how Serial.print handles char[].
Does Serial.print always require a null ...
1
vote
1
answer
97
views
Use Print library to set string variable
I need a function that has the basic functionality of the Print library, accepting different kinds of argument types and parsing them. However, I would like to then store the result in a string/char ...
0
votes
2
answers
3k
views
Help understanding Print::write()--it calls write()--where is write() defined? Help reading code
I'm writing a new serial library (eRCaGuy_Peer2Peer) to allow any 2 pins on an Arduino to be used for peer-to-peer type communication between Arduinos, withOUT interrupts or timers/counters.
...