Mohamad1113:
HI EVERYONE !
I AM WORKING AT ARDUINO UNO, I am still a beginner but I used to love the arduino and it's language so now I have an lcd screen 1602 blue I2C and I want to blink some characters!!
I made a simple controller for a DDS board where I use a spring return to center off switch and a rotary encoder.
The toggle switch selects individual digits in the frequency display and the encoder changes their value.
In order to highlight the place I was changing, I did this:
1 Read which number was currently there
2 Load a bitmap of that digit (in reverse polarity) stored in PROGMEM into the display RAM
3 Set the cursor position to that place and alternate between the real character (in display ROM) and the reverse character at a 250/250 millisecond rate.
4 If the digit is changed, go back to step 1
5 If the location is changed, reset the blinked digit to normal and set the cursor to the new location, then go to step 1.
I used a timer ISR to do the blinking so that other code could run at the same time, but you can just use a simple delay if nothing else is happening at the same time.