Dear Sirs, good afternoon.
Personally I set up a program with underline movement.
Set from right to left. It works normal.
When it returns to the right it stops.
Which command do I have to apply to keep it going!
Thank you very much for this help.
Follows attached.
Help with repetition loop
-
- Posts: 5
- Joined: 08 Oct 2016 21:44
Help with repetition loop
- Attachments
-
- UNDERLINE_1.7z
- (560 Bytes) Downloaded 138 times
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Help with repetition loop
Hi Antonio,
Unfortunately, I'm not sure if I understand correctly what you intend to do with this code.
Could you please provide us with more details about it?
Are you looking for the command below?
Kind regards,
Unfortunately, I'm not sure if I understand correctly what you intend to do with this code.
Could you please provide us with more details about it?
Are you looking for the command below?
Code: Select all
Lcd_Cmd(_LCD_RETURN_HOME);//Return cursor to home position, returns a shifted display to its original position. Display data RAM is unaffected.
Stefan Filipović
-
- Posts: 5
- Joined: 08 Oct 2016 21:44
Re: Help with repetition loop
Good Morning.
Thanks for the code suggestion.
Unfortunately it doesn't work.
Following solution.
Thanks for the code suggestion.
Unfortunately it doesn't work.
Following solution.
- Attachments
-
- UNDERLINE_C.rar
- (384 Bytes) Downloaded 108 times
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Help with repetition loop
Hi Antonio,
Could you please provide me with more details about this issue, because I have not managed to reproduce it?
Kind regards,
Could you please provide me with more details about this issue, because I have not managed to reproduce it?
Kind regards,
Stefan Filipović
-
- Posts: 5
- Joined: 08 Oct 2016 21:44
Re: Help with repetition loop
Dear Sir Stefan.filipovic, good morning.
I'm having a lot of difficulties in programming.
I am returning with the same initial situation as this topic.
Related to the "BUTTON_SELECT" and "BUTTON_SET" functions.
I have the files in attachments (MIKROC and PROTEUS).
Example my application:
Button_Select = Digit0; Digit1; Digit2; and Digit3
Button_Set = numbers from 0 to 9.
Summary: Set each digit and add value.
Example 2:
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT0 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT1 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT2 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT3 -> BUTTON_SET -> numbers from 0 to 9.
But I can't keep UNDERLINE_ON in position.
Could you check my project !!
I'm a student and I want to learn.
I have the paid version of MIKROC.
Wonderful tool.
I apologize for thinking that I had the solution in the initial topic.
I am using the translator.
It may be that something is wrong.
A hug.
I'm having a lot of difficulties in programming.
I am returning with the same initial situation as this topic.
Related to the "BUTTON_SELECT" and "BUTTON_SET" functions.
I have the files in attachments (MIKROC and PROTEUS).
Example my application:
Button_Select = Digit0; Digit1; Digit2; and Digit3
Button_Set = numbers from 0 to 9.
Summary: Set each digit and add value.
Example 2:
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT0 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT1 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT2 -> BUTTON_SET -> numbers from 0 to 9.
BUTTON_SELECT -> UNDERLINE_ON -> DIGIT3 -> BUTTON_SET -> numbers from 0 to 9.
But I can't keep UNDERLINE_ON in position.
Could you check my project !!
I'm a student and I want to learn.
I have the paid version of MIKROC.
Wonderful tool.
I apologize for thinking that I had the solution in the initial topic.
I am using the translator.
It may be that something is wrong.
A hug.
- Attachments
-
- CONTADOR VERSÃO FINAL 2.7z
- (75.92 KiB) Downloaded 99 times