Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (3)
4 digit LCD interface to PIC
no vote
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /* Project 016 - interface for 4 digit LCD module CCS compiler by Michel Bavin (c) September , 2004. --- bavin@skynet.be --- http://users.skynet.be/bk317494/ ---   ... enjoy ! Open source for personal or educational use only. */ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <18f452 h=""> // device selection   #device adc=10  *=16  #fuses XT,NOWDT,NOPROTECT,NOLVP,PUT,NOBROWNOUT,NOOSCSEN,CCP2C1,NOSTVREN,NODEBUG   #use delay(clock=4000000) // 4 MhZ  ! ADC is not optimal at 20 MhZ +
vuong
2016-08-23
0
1
3-wire serial LCD interface for the PIC
no vote
;********************************************************************** ;                                                                     * ;    Filename:    lcdlib.asm                                        * ;    Date:                                                            * ;  
vuong
2016-08-23
0
1
16f 84 pic servo controller 8 servo
no vote
 LIST   P=PIC16F84, R=DEC  #INCLUDE "p16f84.inc" ;------------------------------------------------------------------------------ ; ASSEMBLE With MPASM. available for free from http://www.microchip.com ;------------------------------------------------------------------------------ ; ; Servo Controler Version 1.1 ; 28/10/2001 ; - Fixed Serial receive data problem where the PIC could ;   miss a byte by assuming that the PC isn't in the middle of  ;   sending a byte as it deactivates CTS. ; ; This program will control 4 servos connected to PORT B of the ; PIC microcontroler. ; ; The servos work by responding to a pulse presented to them  ; approximately every 20ms. The width of the pulse controls the  ; position of the servo. ; ; In general, a pulse width of around 1520us is used as a neutral ; (centre) position indica
vuong
2016-08-23
1
1
No more~