In this tutorial, I will explain some sample code to drive the two DC motors in sign-magnitude PWM mode, locked-antiphase PWM mode and simplified serial mode. Thus, all of the sample code that given in this tutorial will only drive two DC motors in clockwise by pressing SW1 and in counter-clockwise by pressing SW2.
In this project, we are going to do a simple LEDs blinking using the LEDs on SK40C. In here, we are using both of the LEDs and blink it like a police car. Besides on learning electronic parts, you will also learn about some coding in C using HI-TECH C in MPLAB.
SK40C + PIC16F887 STARTER KIT BEGINNER GUIDE
SK40C is another enhanced version of 40 pins PIC microcontroller start up kit. It is designed to offer an easy-to-start solution for PIC MCU user. Users are able to utilize the function of PIC by directly plugging in the I/O components in whatever way that is convenient to them. With UIC00B connector on board, user can start developing projects and have fun with this kit right away. This kit comes WITHOUT PIC microcontroller to provide the freedom for user to choose PIC model.