here is the code written in ccs :#include #fuses HS,NOWDT,NOPROTECT,NOLVP#use delay(clock=4000000)void main() { while (TRUE) { output_high(PIN_D1); delay_ms(500); output_low(PIN_D1); delay_ms(500); }}remeber to select PCH 16 bit to compilepin1 ---> vccpin11 ---> vccpin12 ---> gndpin13 & pin14 ---> crystal + 20pf capacitorpin20 ---> led+resistor(470 ohm)pin31 ---> gndpin32 ---> vcc
[Read More]
Lcd Hello World pic16f84a
here is the mikroC code:// LCD module connectionssbit LCD_RS at RB4_bit;sbit LCD_EN at RB5_bit;sbit LCD_D4 at RB0_bit;sbit LCD_D5 at RB1_bit;sbit LCD_D6 at RB2_bit;sbit LCD_D7 at RB3_bit;sbit LCD_RS_Direction at TRISB4_bit;sbit LCD_EN_Direction at TRISB5_bit;sbit LCD_D4_Direction at TRISB0_bit;sbit LCD_D5_Direction at TRISB1_bit;sbit LCD_D6_Direction at TRISB2_bit;sbit LCD_D7_Direction at TRISB3_bit;// End LCD module connectionschar *text =...
[Read More]
datasheet
pic18f4550pic16f84ULN2003APGLCD 2x8
LED Blink pic16f84a
here is the mikroC code :void main() { PORTB = 0; TRISB = 0; while (1) { PORTB = ~PORTB; Delay_ms(100); } }andpin4 ---> vccpin5 ---> gndpin9 ---> led+resistor(470 ohm)pin14 --->vccpin15 & pin16 ---> crystal + 20pf capacitor
[Read More]
cant read--- .ICEauthority
sudo chown username /home/username/.ICEauthority