Questions tagged [lcd]

LCD is an abbreviation for Liquid Crystal Display.

LCD is an abbreviation for Liquid Crystal Display. Liquid crystal is one of several technologies used in monitors today.

577 questions
-1
votes
1 answer

Why am I getting undefined symbol 'sprintf' in CodeVisionAVR using C language?

I'm coding in CodeVision AVR using C, I want to count from 0 to 100 (Counter) and then display it on a LCD in Proteus. While choosing "Build All" in CodeVision, I get this error. I have no clue why. undefined symbol 'sprintf' The code: #include…
fzsdi
  • 13
  • 1
  • 9
-1
votes
1 answer

Arduino uno R3, making a countdown of 10 seconds using a LCD

I am making a simple program using if-else loop to display 10 seconds on a lcd display 16x2 screen. It is a traffic light so when it hits the green LED i want to display 10 seconds and then continue the cycle. My problem here is that the count down…
-1
votes
1 answer

Displaying the input from keypad on a LCD screen using Arduino

I want an Arduino code to give the output in following format on LCD display If the user click 'A', 1, 2, 3 from the keypad, LCD should display Hi:1,2,3, This is what I have tried but I cannot figure out a way to build the code as I am a beginner in…
-1
votes
1 answer

ARDUINO LiquidCrystal does not name a type; did you mean LiquidCrystal_h?

this is my code, it doesn't compile, i don't know what's going on. please help. error: . code: include "zmienne.h" include const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6,…
-1
votes
1 answer

Arduino LCD Display showing jumbled letters

When switching between states, the lines get jumbled and the characters get mixed up. Nothing I've seen online helps and example code in the library works just fine. The main issue I think comes from when the LCD is wiped clean, but then I don't…
-1
votes
1 answer

Having scrolling text on a 1602 LCD while simultaneously listening for a button press

I'm using an Arduino micro with an ic2 module and 1602 LCD. I've written a function to scroll a string on the LCD but I want to listen for a button press at the same time. Here's my scrolling code: void ScrollingText(String(StringToScroll),…
Nathbesspop
  • 5
  • 1
  • 4
-1
votes
1 answer

AVR Countdown timer

I am trying to make a countdown timer using an ATmega32 clocked at 8 MHz. I want to use the ATmega timer to start a countdown for 8 minutes when the switch is pressed and the output should turn on for 8 minutes and when the countdown hits zero the…
-1
votes
1 answer

Program not displaying correct output - MPLAB X IDE

I developed this program which is supposed to display all odd numbers between 1-99 on the top line of the LCD with a 0.5 second delay between each iteration. However, when I run the below code, my output is only '13' then '133' and I am so confused…
T07
  • 43
  • 7
-1
votes
1 answer

Unable to display variable value in 16x2 LCD with Arduino

I am trying to get sensor input into my program and display it in a 16x2 LCD Display. I have two proximity sensors where the time difference between the two inputs is calculated and used in a formula. That value is applied to a variable and I want…
kevin_444
  • 15
  • 1
  • 6
-1
votes
1 answer

Pic programming Using C counter up and down

#include #include "LCD.h" #include #include int main() { unsigned int a; int x = 0; char s[10000]; TRISD = 0x00; TRISB = 0x03; Lcd_Start(); while(1) { Lcd_Clear();Lcd_Set_Cursor(1,1); …
user10296334
-1
votes
2 answers

(Arduino Mega2560) Keypad password check

I am working on a school project, basically I have to create a lock system that opens a fictive gate when the correct code is entered. We have been asked to simulate our system before actually building it. So, I made the following circuit in…
Arxkz
  • 1
  • 3
-1
votes
2 answers

Arduino LCD display does not display text

I'm using LCD for the first time and I'm unable to make it work. It lights the background but it does not show any text. I tried three times from the beginning, each time with a different tutorial, and none of the solutions worked. Is there any…
TheBezwet
  • 33
  • 1
  • 10
-1
votes
1 answer

How to use multithreading for LCD output on the raspberry pi

Writing to the 16x2 LCD display on the raspberryp pi can take some time to finish, especially with the module I wrote that automatically scrolls text that exceeds the length of the display. I need to use multithreading, or something similar, to send…
-1
votes
1 answer

Display with ST7036 controller -- rotate characters by 180 degrees?

I have a DOGM162 display (ST7036 controller). Am I blind, or is there really no way to turn the characters upside down? Is there a way to program this device to rotate the characters 180 degrees?
STeVe
  • 35
  • 6
-1
votes
2 answers

ARDUINO LCD: Generate a navigation menu by reading an array

I'm trying to create the menu in a display linked to arduino by inserting the elements inside an array like the one below in pseudo-code (javascript). var menu = { title: 'main menu', item: [{ txt: 'item1', action:…
Pinguto
  • 416
  • 3
  • 17