Amruta (talk) 12:21, 17 March 2015 (IST)


Basics

In this tutorial we will interface LCD to LPC1768.

Here we will not go in details of LCD.

Still if you want to know it, click here.

Schematic

Code

  1. /* note: Refer lcd.h file for Pin connections */
  2.  
  3. #include "lpc17xx.h" //Device Specific header file
  4. #include "lcd.h" //User defined LCD library which conatins the lcd routines
  5.  
  6. /* start the main program */
  7. int main()
  8. {
  9. SystemInit();
  10.  
  11. /* Initialize the lcd before displaying any thing on the lcd */
  12. LCD_Init(8,2,16);
  13.  
  14. /* Display "hello, world" on first line*/
  15. LCD_DisplayString("Hello World");
  16.  
  17. /*Go to second line and display "good morning" */
  18. LCD_GoToLine(2);
  19. LCD_DisplayString("Good Morning");
  20.  
  21. while(1);
  22.  
  23. }


CoIDE with ARMGCC for ARM Development

Amruta (talk) 10:30, 10 March 2015 (IST) Intro Welcome to the world of ARM Microcontrollers. In this tutorial, we will look at setting up free and open-source tools for ARM Development...

Setting up Keil for ARM

Amruta (talk) 19:22, 11 March 2015 (IST) Sample Project for LPC1768 Let’s start with a simple LED blinking program. Launch the Keil application and follow the steps below...

ARM Timer Programming

Amruta (talk) 13:24, 17 March 2015 (IST) Basics Schematic Code /** * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW...

ARM Interrupt Programming

Amruta (talk) 13:25, 17 March 2015 (IST) Basics Schematic Code /** * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW...