HI I think I had some related problem.
I had installed the Peggy2 library (I can run the example on Peggy2 successfully)
Then I drew some animation and open it with Arduino, but it shows error like
” AnimationFrames” doesn’t named a type
Don’t know where goes wrong!