Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: bikxsici; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    54
    Views
    168,558

    Re: Cordic trig assembly code for PIC18f

    hi ScaleRobotics , i am interested in your codes posted on #51. and i have a problem.
    ...
    ang=3000
    call sincos
    x=60395, y=39551
    ...
    for all ang values i get same numbers, i dont understan...
  2. Re: how to generate two signals from two ports at the same time by using p16f84

    yes you are right maybe we can do it without using TMR. for a language, normally we must use ASM but also can use PBP or C, but i prefer PBP since i have learned it before. it is a summer course,...
  3. Re: how to generate two signals from two ports at the same time by using p16f84

    yes 8u sec. is also ok. let's look at it closely again ( by the way i hope i am a good student ) maybe this time we can do it. i think there is no problem about timing by using tmr0 and prescaler, it...
  4. Re: how to generate two signals from two ports at the same time by using p16f84

    hi cncmachineguy

    i think there are two choices which depend on whether the codes ( decrement freq1 &freq2, IF !freq1&&freq2 then) are in interrupt loop or main loop.

    for the first one, they...
  5. Re: how to generate two signals from two ports at the same time by using p16f84

    sory i am writing fast and i forget something. there is no deadline but i must submit as soon as possible.

    i am going to review the program, and i will send the results , i must be careful. thanks...
  6. Re: how to generate two signals from two ports at the same time by using p16f84

    second one should a1 :( sory
  7. Re: how to generate two signals from two ports at the same time by using p16f84

    hi cncmachineguy

    dividing two variables by tmr0 and obtaining two periods from tmr0, it seems to work, but i think there can be some problems. for example, should we reload tmr0 with respect to...
  8. Re: how to generate two signals from two ports at the same time by using p16f84

    thanks a lot mackrackit

    that utility makes me more careful about timer. now let me review my program again
  9. Re: how to generate two signals from two ports at the same time by using p16f84

    i am allowed to use pic16f84 and 10 mhz crystal. i think this project is impossible, since i have struggled so much, but unfortunately he has a circuit doing that with pic16f84 :0
  10. Re: how to generate two signals from two ports at the same time by using p16f84

    i need a loop with constant 8 mic. sec. time period and multiplying it with two different variables to obtain to different signal. but how?
  11. Re: how to generate two signals from two ports at the same time by using p16f84

    yes, i have tried it also, i put them in main loop but i could not obtain time accuracy.
  12. Re: how to generate two signals from two ports at the same time by using p16f84

    i have tried to obtain accurate time by changing tmr0 and prescaler, but still no answer :(
  13. Re: how to generate two signals from two ports at the same time by using p16f84

    yes i have an advisor teacher but he does not say anything about how i can do it. i guess he just wonder how i find a solution for this project.

    i have started usual basic loop without using...
  14. Re: how to generate two signals from two ports at the same time by using p16f84

    hi cncmachineguy

    yes i recognized it but pic16f84 drived by max 10 mhz and we need so precision time period , max +-2 micro second precision, when we use instructions like if ,else we have...
  15. Re: how to generate two signals from two ports at the same time by using p16f84

    i guess if pic16f84 have had 2 timers , it would be easy but it has not and how do we generate two different signals by using one timer at the same time?

    so diffucult
  16. Re: how to generate two signals from two ports at the same time by using p16f84

    let me look at
  17. how to generate two signals from two ports at the same time by using p16f84

    hi

    for my homework i am supposed to build a circuit by using pic16f84 generating two squarewave signals having different selectable precision frequencies such that 2,2 khz or 2,4 khz etc....
Results 1 to 17 of 17