Thursday, February 25, 2010

LED Blink pic16f84a

here is the mikroC code :

void main() {
PORTB = 0;
TRISB = 0;
while (1) {
PORTB = ~PORTB;
Delay_ms(100);
}
}

and

pin4 ---> vcc
pin5 ---> gnd
pin9 ---> led+resistor(470 ohm)
pin14 --->vcc
pin15 & pin16 ---> crystal + 20pf capacitor

Tuesday, February 23, 2010

cant read--- .ICEauthority

sudo chown username /home/username/.ICEauthority

Friday, February 19, 2010

how to run your webcam

Skype

Go to main menu, System, Preferences, Menus: Applications, Internet, Items: Skype, Properties, and replace the Command with

bash -c 'LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype'