Hi,
i'm new un the world of microcontrollers, i recentrly brought a oopic (www.oopic.com) this because it was easy to program in basic...
now i'm trying to measure rpm's (max 8000/min..) and i do it
in the way that i count in a time if a I/O line is high or low (pulse measure ments...)
when i programmed whit that i saw that my oopic only can do the
do
loop
24x times per second... this is very slowww...
so i programmed a do loop construcion only whit this..
(basic)
dim met as oWord
do
met=met+1
loop
when i did this it counts 250 per second..also very slowww..
can anybody do this test or tell me wy this is sow slowwly...??
my oopic has 8Kb of ram..(24LC64) and a PIC16F776 (microship...)
hope somebody can give me good advise...
or some people can test there one..(the performance...)
(i hope whit a other language..)
TKS
p.s. the way i know the values is because the oopic comes whit a program you can "talk" white the oopic...an read values of it...
i'm new un the world of microcontrollers, i recentrly brought a oopic (www.oopic.com) this because it was easy to program in basic...
now i'm trying to measure rpm's (max 8000/min..) and i do it
in the way that i count in a time if a I/O line is high or low (pulse measure ments...)
when i programmed whit that i saw that my oopic only can do the
do
loop
24x times per second... this is very slowww...
so i programmed a do loop construcion only whit this..
(basic)
dim met as oWord
do
met=met+1
loop
when i did this it counts 250 per second..also very slowww..
can anybody do this test or tell me wy this is sow slowwly...??
my oopic has 8Kb of ram..(24LC64) and a PIC16F776 (microship...)
hope somebody can give me good advise...
or some people can test there one..(the performance...)
(i hope whit a other language..)
TKS
p.s. the way i know the values is because the oopic comes whit a program you can "talk" white the oopic...an read values of it...