Stack Exchange Network

Stack Exchange network consists of 174 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 [print]

The tag has no usage guidance.

0
votes
0answers
23 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 ...
0
votes
1answer
50 views

How to print/display next menu item with menubackend.h?

I'm trying to make a navigational menu with sub menus to display on an OLED. Have managed this OK, however I would like to display the next item on the same level, to encourage scrolling, but I am ...
0
votes
1answer
100 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 ...
1
vote
1answer
31 views

how can I send a variable to println?

this is my method void mensaje_sms() { string numero = "777777"; // this is my variable SIM900.print("AT+CMGF=1\r"); delay(100); SIM900.println("AT+CMGS=\"591"numero"\""); /...
0
votes
1answer
276 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 ...
0
votes
2answers
338 views

U8glib funny problem

I have strange problem with u8glib library. I have code: void void_Menu_draw_func_men() { if ( menu_redraw_required != 0 ) { u8g.firstPage(); do { Menu_draw_func_men(); } while( u8g....
0
votes
2answers
3k 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 ...
0
votes
0answers
63 views

Serial.println cuts off first digit

I'm trying to perform a simple analogRead() and print out the result, as below: void getVoltMeter() { readValue = analogRead(A2); readByte = readValue/4; Serial.println(readValue); Serial....
0
votes
1answer
47 views

Use Print library to set string variable [closed]

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
1answer
2k views

How can I get Serial.print to print a variable thats a char?

I'm trying to write a function as part of my code, and the function basically has to write the name of a parameter, but I can't get it to print properly to the screen. Here is what I've got: void ...
0
votes
2answers
777 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. ...