The best any microcontroller can create is a pseudo random number based upon a seed value. For a true random value, an external influence is required. In our case, we'll use an open ADC channel to create a random bit, with which, we'll create a random byte or random word.
...
Accelerometers are fascinating devices, combining tiny moving mechanical parts with electronics to produce truly amazing results. They are part of the semiconductor family named MEMS (Microelectromechanical systems). The freescale MMA7260Q is a 3-axis accelerometer, meaning it can detect a gravity force in X, Y and Z axes.
...
RAM and I/O lines are two of the items that are usually in short supply on a microcontroller, therefore with this handy little SRAM device we can address both these issues, as it will give us an extra 32 kbytes of RAM, and only use four of our precious I/O lines, three of which can also be used for other purposes when not accessing the device. The chip in question is the Microchiptm 23K256 SPI SRAM.
...
Forgive my ignorance about recent changes please
Thread Starter: jmarkwolfI am a longtime registered owner of Proton Basic Compiler (including dongle) but it has been awhile since I logged in (with Lester's help), 3 years...
jmarkwolf Yesterday, 20:23