Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Timer0 + ticking interupt

Discussion forum for the BasicX family of microcontroller chips.

Timer0 + ticking interupt - kj62 - Dec 12 2:10:00 2001

Hello.
how can i use timer0 to generate an interupt for a task periodically?
The timer will be used as a free running ticking device and when a
I/O line goes high it will start a counter. Based on how many ticks
the counter has accumulated will give the high going pulsewidth. what
i plan to do is when the timer ticks that will activate the task and
poll a I/O port and determine if any I/O lines are a logic 1 and that
will start the timer.

Thanks,
Kevin J




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )