Hi, This only makes sense if you read Part 1 of my earlier email.
Below is the cpu performance figure I noted from Apple's Activity Monitor whilst varying the length of the wait command in my Script talking to Arduino. Below that is the actual data I was getting out. CPU performance (w% = static and dynamic the same, x-y% = x = static, y = dynamic) 10 pin read 9600 Idle 17% cpu; >50ms 2-6% cpu; 50ms 34% cpu; 19ms 13-27% cpu; 17ms 3-22% cpu; 16ms 100% 57600 Idle 17% cpu; >50ms 2-12% cpu; 50ms 34% cpu; 19ms 13-31% cpu; 17ms = 3-27% cpu; 16ms 100-98% 69 pin read 57600 Idle 18% cpu; >50ms 4-6% cpu; 50ms 34% cpu; 19ms 13% cpu; 17ms = 3-6% cpu; 16ms 100% Data Output For this test my 'test bed' only had the ability to rapidly change the status of pin 2, all others are static. For the first bunch of test I was only testing 9 pins so the print out should have been 9 1's or 0's on each line, no blank lines. As you'll see my final test was with 69 pins, therefore 69 1's or 0's per line. 9600bps @ 17ms 0111 001101 001100 1101 0111001101 0011001101 0 111001101 0011 001101 0111001101 001 9600bps @ 100ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011 001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 9600bps @ 300ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 011100110 1 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 57600bps @ 17ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011 001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 57600bps @ 51ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 57600bps @ 100ms 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 0011001101 0111001101 57600 @ 17ms 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 001100110100110011000011001100001100110000110011000011001100001100110 011100110100110011000011001100001100110000110011000011001100001100110 … (on and on, no corruption) _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
