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...
Type: Posts; User: bikxsici; Keyword(s):
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...
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,...
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...
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...
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...
second one should a1 :( sory
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...
thanks a lot mackrackit
that utility makes me more careful about timer. now let me review my program again
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
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?
yes, i have tried it also, i put them in main loop but i could not obtain time accuracy.
i have tried to obtain accurate time by changing tmr0 and prescaler, but still no answer :(
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...
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...
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
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....