Does anyone have a pseudo random function for PIC, coded i C ? Assembly is tedious work, and I prefer using my CC5x compiler for programming. Exellent code efficiency by the way... I also do some programming in C on 8051 chips. I could use a rand function here too. Best regards, Tore Bergvill, Oslo, Norway Tore's email address: bergvill@online.no May the force be with you...