Code

PIC16F877 and ADC example

In the following example project we will convert an analog input to channel 0 to 10 bit digital number and display it on an LCD   Schematic Code   [codesyntax lang=”c”] sbit LCD_RS at RB4_bit; sbit LCD_EN at RB5_bit; sbit…

Read more

Flashing LED example for a PIC18F4520

This is a simple ‘Hello world’ type example. This was to test out a PIc18F4520 development board that I purchased, the board comes with 8 LED’s connected to PORT B. Here is the kit I purchased AliExpress.com Product – PIC18F4520-I/P…

Read more

RGB LED PIC example

In this example we used an RGB LED breakout board, here is a picture of an Surface mount RGB breakout board which was similar to the one we used, the PIC was a PIC16F877 We will connect the Red, Green…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More