Search:

Type: Posts; User: coolvasanth07

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Closed: Re: Error: a #device required before this line ccs c

    No sir am not get output,, i think my compiler problam?
  2. Closed: Re: Error: a #device required before this line ccs c

    My compiler version >> "CCS C 4.105 Full"
  3. Closed: Re: Error: a #device required before this line ccs c

    Hellow bmb_10 when i compile ur code


    #include <16F877A.h>
    #device adc=16

    #FUSES NOWDT //No Watch Dog Timer
    #FUSES HS //High speed Osc (> 4mhz for...
  4. Closed: Re: Error: a #device required before this line ccs c

    i add it friend,, see below image plz...

    85058
  5. Closed: Re: Error: a #device required before this line ccs c

    i get same error only friend...see below



    #include "16F877A.h"
    #device *=16
    #device adc=10

    #use delay(clock=20000000)
    #byte PORT_B=6;
  6. Closed: Re: Error: a #device required before this line ccs c

    When I do that I get a new slew of errors that I avoided before by moving the #device line to the top of the code...

    error is:

    Executing: "C:\Program files\Picc\CCSC.exe" +FM...
  7. Closed: Re: Error: a #device required before this line ccs c

    Thanx for ur response friends..my simple code given below


    #device *=16
    #device adc=10
    #include<16F877A.h>

    #use delay(clock=20000000)
    #byte PORT_B=6;
  8. Closed: Error: a #device required before this line ccs c

    HI, WHEN COMPILE MY PROGRAM I GOT ERROR :"a #device required before this line ccs c" ,,,HOW CAN I CLEAR THIS ERROR...AM USIND PIC16F877A + CCS C,,,PLZ ANY ONE HELP ME,,,

    >>THANX IN ADVANCE
  9. Closed: Re: Convert port pin into uart(serial) pin

    thanx sir thanx a lot,,,,i got it....
  10. Closed: Convert port pin into uart(serial) pin

    Hi, i want to know how to convert portd pin into serial(uart) pin.....in my project i want to take tx & rx pins from portd pins...i am using pic16f877a + hitech c...plz help me,,,it's urgent
    ...
  11. Replies
    4
    Views
    1,049

    Closed: Re: Pic16f877a + rf communication

    how to write code for this....plz tell me any idea or sample code....
  12. Replies
    4
    Views
    1,049

    Closed: Pic16f877a + rf communication

    Hi, i want to trnsmit data using rf communication, so plz anyone help me for how to write code, plz guide me. It's urgent..
    Am using pic16f877a & hi-tech c...

    >>thanks in advance
  13. Closed: Re: speed control of dc motor using 8051

    set the following things, "CCP1CON, PR2, T2CON, and CCPR1L" then change the Duty Cycle Value,,

    >>try it
  14. Closed: Re: Dc motor speed control using pwm + pic16f877a

    Thank u friends (tusemo and Tahmid )....thanx a lot....i got it.....
  15. Closed: Dc motor speed control using pwm + pic16f877a

    Hi, in my project i want to control dc motor using pwm...am using pic16f877a+hi-tech c compiler..it's urgent plz...
    >>thanks in advance<<
  16. Closed: Re: Interrupt problem in serial communication

    thank u sir(jayanth.devarayanadurga) thank u very much....i got it.........thanks a lot....Thanks to all...
  17. Closed: Re: Interrupt problem in serial communication

    this is my full code,,,am using Hi-Tech C compiler...


    void main()
    {
    TRISD=0x00;
    PORTD=0x00;
    TRISB=0x00;
    PORTB=0x00;
    TRISE=0x01;
  18. Closed: Re: Interrupt problem in serial communication

    my main function shown below


    void main()
    {
    TRISD=0x00;
    PORTD=0x00;
    TRISB=0x00;
    PORTB=0x00;
    TRISE=0x01;
  19. Closed: Re: Interrupt problem in serial communication

    ya sir, but not take ISR...my uart initialization shown below, in this program when i enable "GIE", it not TAke ISR...


    void uart_init()
    {
    TXSTA=0x20;
    RCSTA=0x90;
    SPBRG=15;
    RCIE=1;...
  20. Closed: Re: Interrupt problem in serial communication

    Am using pic16f877a and hi-tech c compiler...
  21. Closed: Interrupt problem in serial communication

    Hi, i have problem in serial interrupt,,when i initialize "gie=1" , it not take isr....then how can i write the code for interrupt...it's urgent plz help me....

    >>thanks in advance....
  22. Replies
    2
    Views
    1,032

    Closed: Serial interrupt in pic16f877a

    Hi, i need help for serial interrupt coding....am using hi-tech c and pic16f877a...

    >>thanks in advance....
  23. Replies
    11
    Views
    1,790

    Closed: Re: Coding For PIC 18f4520

    Try this Code,,,,


    void main()
    {
    TRISA=0x01; // Configure RA0 as input pin
    LATA=0;
    TRISB=0; // Configure Port B as output port
    LATB=0;
    TRISD=0;
  24. Replies
    4
    Views
    1,009

    Closed: Re: delete data from eeprom

    Thank you Friends,,,i got it....
  25. Replies
    4
    Views
    1,009

    Closed: delete data from eeprom

    Hay friends, how to clear data from EEPROM memory,,plz tel me the conditions....am using PIC16F877A+Hi-Tech C...
    >>Thanks In Advance
Results 1 to 25 of 37
Page 1 of 2 1 2