PIC 18 LCD First Animation

Let’s Unveil The LCD’s Animations Techniques — PIC Unit #02 — LCD — Episode #02

J3
Jungletronics
2 min readNov 25, 2019

--

To move text in the LCD’s screen all we need to do is to use:

Lcd_Cmd(_LCD_SHIFT_RIGHT);
Lcd_Cmd(_LCD_SHIFT_LEFT);

Internally these constant are mapped to decimal numbers 24(_LCD_SHIFT_LEFT) and 28(_LCD_SHIFT_RIGHT). Please see this spreadsheet for more information. This video explains it all!

Here is the code:

Here is the result:

Fig 1. Code running fine!

And that is all for now!

On the next episode, let’s use a button to (de)increment a counter using PIC18F.

Bye and tks a lot:)

Related Posts

0º Episode — LCD — unit#02 — PIC 18 LCD Intro — HD44780 Character LCD Displays

1º Episode — LCD — unit#02 — PIC LCD First Print — Let’s make our first print

2º Episode — LCD — unit#02 — PIC LCD First Animation — Let’s Unveil The LCD’s Animations Techniques

3º Episode — LCD — unit#02 — PIC LCD Key & Counter — Pressing One key Increment or Pressing Other Key Decrements a Counter

4º Episode — LCD — unit#02 — PIC LCD Custom Symbols — How to Create a Custom Character on CGRAM

5º Episode — LCD — unit#02 — PIC 18 Digital Thermometer — Designing a Digital Thermometer w/ LM35

6º Episode — LCD — unit#02 — PIC 18 LCD Calculator — Let’s Make an Awesome CalculatorApp

7º Episode — LCD — unit#02 — PIC 18 LCD Keypad Discovery — Let’s Unveil Our Board Keypad

8º Episode — LCD — unit#02 — PIC 18 LCD Menu Template — Get A Nice Template For Your Menu App

--

--

J3
Jungletronics

Hi, Guys o/ I am J3! I am just a hobby-dev, playing around with Python, Django, Ruby, Rails, Lego, Arduino, Raspy, PIC, AI… Welcome! Join us!