pRNG icon indicating copy to clipboard operation
pRNG copied to clipboard

compatibility with new AVR cores

Open marcobrianza opened this issue 7 years ago • 3 comments

Hello, I am having issues with this library, like it produces few random numbers than it stops. It used to work a couple of years ago. Can it be that the new AVR cores have introduced some optimization that broke the compatibility?

I have tested on a Arduino pro micro.

Ciao Marco

marcobrianza avatar Jan 26 '18 14:01 marcobrianza

I will investigate it.

leomil72 avatar Jan 26 '18 16:01 leomil72

I launched the example sketch "pRNG test" for about 10 minutes and no freeze occurred. At first glance, the numbers that I got on the serial monitor seem to be almost randomly. I used Arduino IDE 1.8.5 on my Mac, pRNG 1.2.2 installed through the library manager of the IDE.

leomil72 avatar Jan 26 '18 17:01 leomil72

hello, version 1.2.2 is not released and so not available with library manager. the one available is 1.2.1 I made some new tests using different boards and both on mac and windows. Using an Arduino Duemilanove ( ATMega328P) it works, with Lonardo (ATmega32u4) it blocks.

marcobrianza avatar Jan 27 '18 06:01 marcobrianza