pavelmachek (pavelmachek) wrote,
pavelmachek
pavelmachek

LED controller on Nokia N900 now computes prime numbers

I played a bit with lp5533 controller on N900, and result is a compiler preparing scripts for it. It is possible to control more than one led from one engine, it is possible to communicate between the engines, and it is possible to compute prime numbers directly on the controller. Code is in gitorious repository, in maemo/notcc.py. Oh, and the kernel driver would really need some improvements. Right now, it limits programs to 16 steps. 30 steps should be easy, and 90 steps per engine should be possible with dynamic allocation. (OTOH... if current setup is strong enough to compute primes, maybe improvements are not critical?)
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments