![MikroC user interface](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7tiqrI7hZtdsGK5fmHNnf1qnW1RxDKH1E3o22Q1XUuOiVRBbazzwf0qY8U8xByiSEjrMYa_E_qcq56k5xE4WGyNntN9gxtTuB7x_-iF6OwOmuJneCOT1V2LidXGT_ngbRijOiOC6yo-21/s400/MikroC.png)
As a beginner in PIC Microcontroller, MikroC is my favorite compiler for my Microcontroller projects. I know 'C' already so it's very easy to use MikroC no complex settings involved. MikroC provides a lot of useful and handy libraries for example, LCD interface , UART, I2C, SD card access and many more. Good new, there is a free lite version that can compile code upto 2Kbyte which is enough for beginner projects. The commercial version is also affordable. Of course, I am not selling MikroC :) I just want to share information. Please visit their site for more info: http://www.mikroe.com/
MikroC sample for sending "Hello World!" to LCD
Lcd_Init(&PORTB); // Initialize LCD connected to PORTB
Lcd_Cmd(Lcd_CLEAR); // Clear display
Lcd_Cmd(Lcd_CURSOR_OFF); // Turn cursor off
Lcd_Out(1, 1, "Hello World!");
Lcd_Cmd(Lcd_CLEAR); // Clear display
Lcd_Cmd(Lcd_CURSOR_OFF); // Turn cursor off
Lcd_Out(1, 1, "Hello World!");
No comments:
Post a Comment