Create a program that can send large values through the RCX mail system.
23rd of April, 2010
(0 )
Mail values are limited to 255.However, the program below is a sample of a simple method to get around that.
This is the send program:
This is the receive program:
The program breaks the big number into three two digit sections and then puts it back together on the other side.The program also waits for the receive function to send a mail value to indicate that it is ready to receive data. Since the largest number that you can put into a container is 2^15 or 32768 it can only deal with values up to that.
* Extra credit: make it so that it does not matter which one is run first and then convert it to a VI
** Double bonus: modify it so that it can handle numbers larger than 2^15