??? 05/22/06 19:44 Read: times |
#116889 - here's the exact definition of the prblm Responding to: ???'s previous message |
German:
Messung der Beleuchtungsstärke durch Auswertung der Periodendauer des Ausgangssignals eines TSL220 mit dem Timer 2 des Mikrocontrollers 80c552 und Anzeige des gemessenen Wertes in Microwatt/cm^2 auf dem PC-Monitor. Der Messbereich erstreckt sich von 1mikroWatt/cm^2 bis 1000microWatt/cm^2. Die Übertragung vom Mikrocontroller zum PC erfolgt über die serielle Schnittstelle. Das Programm soll in ASM geschrieben werden. English: Measure the illumination by analysing the period-time of the output-signal of a TSL220 using TIMER 2 of the uC 80c552. Display the measured values in uW/cm^2 on the PC-Monitor. The measuring range lengths from 1uW/cm^2 till 1000uW/^2. The transmission from the uC to the PC shall be realized by the RS232. The programme has to be typed in ASM. ----------------------------------------------- and here my exact problem: i have no idea how to initialise timer2. i've added my last source code, so that you can have a look how i initialised timer0 until now. further i've no idea where the timer2 saves its measured values(t2con???). i hope that everybody is clear about the problem now, sorry about the irritating messeges. i hope you take a look in my source code in the attachment. yours mike |