kopia lustrzana https://github.com/peterhinch/micropython-samples
Random: add yasmarang and cheap_rand generators.
rodzic
ee0d56bd7e
commit
96360ba5a7
|
@ -1,5 +1,6 @@
|
||||||
# pseudorandom numbers for MicroPython. ISR friendly version.
|
# pseudorandom numbers for MicroPython. ISR friendly version.
|
||||||
# Probably poor quality numbers but useful in test scripts
|
# Probably poor quality numbers but useful in test scripts
|
||||||
|
# Based on xorshift32 here https://en.wikipedia.org/wiki/Xorshift
|
||||||
|
|
||||||
# Author: Peter Hinch
|
# Author: Peter Hinch
|
||||||
# Copyright Peter Hinch 2020 Released under the MIT license
|
# Copyright Peter Hinch 2020 Released under the MIT license
|
||||||
|
|
Ładowanie…
Reference in New Issue