caramoan tour package

caramoan tour package

Author Topic: Paano mo malalaman kung sira n un PIC??  (Read 3075 times)

Offline toasted siopao

  • She loves me, she loves me not, she loves me...
  • Global Moderator
  • Gas Turbine
  • *****
  • Posts: 2575
  • Pogi/Ganda Points: 107
  • Gender: Female
    • TeknoBlogger
Re: Paano mo malalaman kung sira n un PIC??
« Reply #20 on: March 14, 2009, 05:22:11 PM »
Siguro kapag may comment na ganyan sa microC, yan na yung setup ng micro, di pa namana ako nakagamit ng microC.

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #20 on: March 14, 2009, 05:22:11 PM »

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #21 on: March 15, 2009, 10:37:54 AM »
Quote
Kasi kapag nagprogram ka sa PIC16F628, dapat nakaground yung LVP pin.

JDM programmer po gamit ko...
alin po ba d2 ung LVP pin??? ???

Quote
Ito lang na notice ko, ano pinagkaiba ba ng ~0xFF sa 0x00?

wala! ganda lng tingnan  parang high level ang dating :)
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #21 on: March 15, 2009, 10:37:54 AM »

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Paano mo malalaman kung sira n un PIC??
« Reply #22 on: March 15, 2009, 11:22:08 AM »
I suggest not to use ~0xFF kung 0x00 talaga ang gusto mo. nakakalito.

ang isang pwedeng purpose niyan is kung active low 'yung output mo like sa displays. kung gusto mo magpalabas ng 10101010 sa LED na naka-common anode, imbes na 0x55, ~0xAA ang gagamitin mo dahil mas kita mo na AA talaga 'yung gusto mo. pero kung hindi naman inverting 'yung logic, huwag na lang siguro. ;)
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #22 on: March 15, 2009, 11:22:08 AM »

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #23 on: March 15, 2009, 11:47:25 AM »
tnx, i will take note of THAT
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #23 on: March 15, 2009, 11:47:25 AM »

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #24 on: March 15, 2009, 12:51:53 PM »
back to business....

pag umi-init ung PIC pero gumgana,  gamit ung code dyan,..cra po ba??
pero me 3 pins na d umi-ilaw  (RA5,RB4,...)ung isa d ko ma-alala..
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #24 on: March 15, 2009, 12:51:53 PM »

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #25 on: March 15, 2009, 12:53:24 PM »
one more thing LVP_OFF ung isa ko pang config,...me kinlaman b ung grounded RB4 sa pag-program???  o hindi n??
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #26 on: March 15, 2009, 01:36:34 PM »


//config   XT; CP_OFF; PWRTE_ON;MCLRE_OFF;


Quote
void main(){
     TRISA =0x00;
     TRISB =0x00;
     PORTB =0x00;
     PORTA =0x00;

     while(1){
              PORTB = 0xFF;
              PORTA = 0xFF;
     }
}

Eto po ung code...
pin RB4 RA5 AT RA4  Ay hindi umi-ilaw...any suggestion???

this one i use a new PIC  16f628a also..thinking that the older one is dmage??
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Paano mo malalaman kung sira n un PIC??
« Reply #27 on: March 15, 2009, 06:52:55 PM »
back to business....

pag umi-init ung PIC pero gumgana,  gamit ung code dyan,..cra po ba??
pero me 3 pins na d umi-ilaw  (RA5,RB4,...)ung isa d ko ma-alala..

meron sigurong part na sobrang loaded kaya umiinit.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline Dufox™

  • Size AA Battery
  • ****
  • Posts: 111
  • Pogi/Ganda Points: 1
  • What's next...!!?
Re: Paano mo malalaman kung sira n un PIC??
« Reply #28 on: March 16, 2009, 12:14:58 AM »
MCLRE kya kc disable??

wal kc signal dun pag nka TRISA = 0x00; at tsaka RA4 at RB4
..
..proud to be MECHATRONICS Eng'r..
-clear!!

Philippine Electronics Forum

Re: Paano mo malalaman kung sira n un PIC??
« Reply #28 on: March 16, 2009, 12:14:58 AM »

 

Privacy Policy

Contact Us: elabph@yahoo.com