would like to turn a wrt54g into a simple signal strength meter with analog indicator. Would need a little c routine that makes a square wave on one of the LED outputs of a few hundred Herz with programmable duty cycle, e.g. 100 steps or more from 0 to 100% duty to get enough accuracy. Are there timer functions in the wrt54g that I could use from C to achieve this ?
If e.g. using the schedule_timeout function, the problem will exist that the resolution is limited to one jiffie, i.1. 10 ms. So would like to use a microsecond timer, but don know whether and how it can be accessed.
(Last edited by doddel on 25 Mar 2006, 12:32)