Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8…
PIC Code
-
-
In this example we will show you how to connect a 7 segment display to our PIC18F2550. You can think of a 7 segment display as 7 individual LEDs in…
-
In this example we will read the temperature and humidity using a DHT11 sensor and display the readings on our LCD. We have linked to the datasheet at the bottom…
-
In this example we will connect an LDR again but this time when the ADC value goes below a certain number we will switch an LED on, in real life…
-
In this example we will connect an RGB led to our Pic 18F4520 Port D. We will then light the red, green and blue individually. We will connect this up as…
-
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.…