[ Log In ]

16x2 LCD (Liquid Crystal Display)

16x2 LCD (Liquid Crystal Display)

$12.50
Qty:
Front of the 128x64 display module

128x64 OLED Display Yel/Blu

$17.95
Qty:
USB 2.0 Cable 10 Foot Type A Male to Type B Male

USB 2.0 Cable Type A Male to Type B Male - 10 FT

$4.80
Qty:
3 Foot USB Cable Type A to USB Cable Type A

USB Cable Type A Male to USB Type A Male - 3 FT

$2.65
Qty:
Type K Thermocouple Temperature Sensor

Type K Thermocouple - Temperature Sensor

$4.95
Qty:
Tumbnail: 62 oz-in NEMA 17 Stepping motors (also called stepper motor)

NEMA 17 Stepping Motor (62 oz-in 5mm single shaft)

$19.95 Out of Stock
Qty:
Image of the Atmega324p

Atmega324P

$8.50
Qty:
10K timmer potentiometer

10K Trimmer Potentiometer (Through Hole)

$0.85
Qty:
White prototyping breadboard with 30 tie strips and two power rails on each side.

White Prototyping Breadboard (2x30 columns of tie strips and 2x2 rows of power strips)

$7.95
Qty:

Programming: LCD Code for checking if the LCD is busy

The data direction for the data port must be input since we will be getting information from the LCD. All of the PORTB lines will be set low for this to happen.

The enable must be set high and wait for a little while using the asm volatile ("nop"); command a couple of times.

The R/W line is set high to have the LCD in read mode so we can receive data from the LCD.

The RS line is set low to be in command mode.

Turn the enable on and off and grabbing the data until the data gives us the not busy signal of < 0x80

When all of the reading from the LCD is completed, the port is set back to output so the rest of the program can be in output mode for sending commands and sending characters.

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.

Description:

Code (optional):