In this example we connect an LDR to ADC channel 2 which is PA 2. Once again you will get a value in theory between 0 and 1023. The more…
Category:
PIC tutorials
-
-
In this example we connect a push button switch to RD0 when the button is pressed we will light an LED(s), when the button is not pressed the LED(s) will not…
-
Here are some more LED examples for use with the QL200 development board Example 1: #include //We use an xtal crystal, no watchdog, //no low-voltage protection and no code protection.…
-
This first tutorial is the usual flashy LEDs example. We will be introducing the development board we use (its the QL200 PIC development board), we will be using the CCS…