Jump to content

umt134

Members
  • Posts

    1
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2009
  • Since
    2009

umt134's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello friends, LabVIEW with the PROTEUS programs via rs232 want to light an LED. But I'd done, I can not run a kind of study. I do not know where the error was doing. Would you please help. THANKS. CSS C CODE: #include <16f877.h> #fuses XT,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NODEBUG,NOCPD #use delay (clock=4000000) // Gecikme fonksiyonu için kullanılacak osilatör frekansı belirtiliyor. #use rs232 (baud=9600, xmit=pin_C6, rcv=pin_C7, parity=N, stop=1,FORCE_SW) #use fixed_io(d_outputs=PIN_D0,PIN_D1,PIN_D2,PIN_D3) void veri () { char x; gets(x); if(x=='A') output_d(255); return; } void main() { setup_psp(PSP_DISABLED); setup_spi(SPI_SS_DISABLED); setup_timer_1(T1_DISABLED); setup_timer_2(T2_DISABLED,0,1); setup_adc_ports(NO_ANALOGS); setup_adc(ADC_OFF); setup_CCP1(CCP_OFF); setup_CCP2(CCP_OFF); //output_d(0x00); while(1) { veri(); } } Proteus DESIGN : VI Programı: VI PROGRAM: THANKS
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.