Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/02 17:56
Read: times


 
#21274 - RE: TSL230 - Light to Frequency
I do the measurement by running t0 as a counter for a period of time determined by t2.
main:
clear flag
clear t0, t2
set - time in t2
enable t0 count - t2 timer
wait for flag
read t0 count

t2 interrupt:
disable t0 count
set flag
exit

Have fun,

Erik

List of 3 messages in thread
TopicAuthorDate
TSL230 - Light to Frequency            01/01/70 00:00      
RE: TSL230 - Light to Frequency            01/01/70 00:00      
RE: TSL230 - Light to Frequency            01/01/70 00:00      

Back to Subject List