Using Arduino Mega :-
Please advise use of recursive addition of big numbers (x+=x) and then printing the big number. I can generate big numbers from a random binary string using your BigNumber.h library.
e.g. 2^0 = 1
-
-
2^14 = 16384
2^32 = 2147483648 etc.
up to 2^35
but I now need to add these together to get a result which will be 12 digits long and then print the result.
An example sketch would be appreciated.
Found starting place here:
http://forum.arduino.cc/index.php?topic=85692.0
Kind regards
Please advise use of recursive addition of big numbers (x+=x) and then printing the big number. I can generate big numbers from a random binary string using your BigNumber.h library.
e.g. 2^0 = 1
-
-
2^14 = 16384
2^32 = 2147483648 etc.
up to 2^35
but I now need to add these together to get a result which will be 12 digits long and then print the result.
An example sketch would be appreciated.
Found starting place here:
http://forum.arduino.cc/index.php?topic=85692.0
Kind regards