Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
you all expect the question as the experienced person asking the question. why do not you be at the side of beginner and think like that? and I am not telling you to write all program and by the way, it's not the homework it is the self project I am working with...and I think this group only...
At once, It will be quite difficult what you are expecting because I am in the learning phase. As I have already mentioned I have displayed that on the LCD which means I have declared it another c file. I have more than 60 c and h.files how can I post here? I only want to know as I have...
all those variables are declared in the header file so I do not mention them here. I don't get this line" one place you increment something, but you display something else (the structure),". How can I make it incremental, any suggestion?
I have used an 8085 microcontroller connected with 16*2 LCD to display the Real-time clock. Till now the time and date are displayed correctly on the LCD and now I want to customize that time and store it in that register using buttons. I have used one button to move the cursor, another to the...
I am using an 8085 microcontroller and 16*2 LCD with a 4-bit data bus panel to display the RTC(the time and date ). Since now the Interface is working with displaying the time or date in the first line but it is not displaying on the second line. What may be the cause? Thank you!
To display the...
@danadakk
void op_switich_upf(void) is replaced by void incrementbutton(void) so that it will be easy to understand for all.
and ups is replaced by button.
Now, the code looks like this, now both the digits are incrementing but when I move the cursor and press the button to the first digits it...
@danadakk I tried using two variable for each digits this way:
void op_switich_upf(void){
if (upf == 1) {
set_cursor_position (1, 2);
if (temp >= 47 && temp < 57) {
temp = temp+1...
@doraemon @KlausST @FvM @danadakk here is all the details I have coded till.
I have connected the LCD with the microcontroller 8051. I have used 16x2 LCD where D4_D8 are used for I/O and LCD connected to the microcontroller port P7. I have connected two buttons to the PORT2 one for the moving...
@KlausST till the code and relevant information for the problem is all I have provided.
1634717429
@FvM I want to increment the two or more than 2 digits in the LCD when the button is pressed and usage of sprintf() and.....how it works...
1634718121
@KlausST how can i make count value to zero...
@doraemon I have declared all the variables at the top of the program. Since that is the same for both I don't declare that in second.
As I already said, I have made an increment of one digit and in my last post, I have code that prints in the LCD.
Of course, I will try the way u said. But for...
@doraemon It's related to the last post. Yeah, I want to increment the count and display it and it is incrementing for one digit as I show the code above, but now I have displayed two digits in the LCD display and tried the below second way but it does not increment the count. It is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.