Skip to main content

Questions tagged [print]

0 votes
1 answer
2k views

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/...
Hubert B's user avatar
0 votes
1 answer
998 views

Currently I'm using: ADMUX = 0b01100000; //example for (int i = 7; i >= 0; i--) { Serial.print(bitRead(ADMUX, i)); } This correctly prints: 01100000 But is there a simpler way? Before ...
Gaai's user avatar
  • 55
-1 votes
1 answer
116 views

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 ...
androidAwesome's user avatar
2 votes
0 answers
58 views

I'm writing code so that, every time a hall monitor senses, my code additively measures 5 liters of volume as it prints each detection. Then, this data is sent via Bluetooth to a phone. (This is for a ...
Anne Murray's user avatar
2 votes
2 answers
6k views

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 ...
voticoy's user avatar
  • 21
1 vote
1 answer
102 views

I am working on building a serial command receiver. The idea is came from the boot loader. However, I got a very strange problem that I have no idea what could cause it. As the first screenshot show, ...
Lu Chih Yuan's user avatar
1 vote
1 answer
3k views

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 ...
Shushan Abovyan's user avatar
0 votes
1 answer
554 views

I have a simple method that simply waits for an input, computes a response, and sends it: void loop() { if (Serial.available() > 0){ input = Serial.read(); if (input == 10){ ...
polortiz4's user avatar
  • 103
1 vote
1 answer
1k views

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 ...
vueenx's user avatar
  • 19
1 vote
1 answer
1k views

I have an int64_t variable. When I add another int64_t variable and convert it to a double to print it on the serial monitor, it acts as if it was a int32_t variable. This is the program: int64_t a =...
LukasFun's user avatar
  • 295
0 votes
1 answer
202 views

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....
Anders Kitson's user avatar
1 vote
0 answers
362 views

I am using a TFT Touch screen on an Arduino Mega, with UTFT and UTouch libraries. When I use the code below, the text is aligning to right, all the way to the edge of the screen. Is it possible to ...
Andi Stancu's user avatar
0 votes
1 answer
600 views

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'...
Frank Warren's user avatar
1 vote
0 answers
62 views

I'm working with a digital blood pressure meter using arduino nano. I need to display the pressure reading during inflation and deflation of the cuff instantly. And when an input signal applied to a ...
Mstar3's user avatar
  • 11
0 votes
1 answer
95 views

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 ...
TheNerdLog's user avatar

15 30 50 per page