Nov-11-2019, 07:32 AM
I want to move this code into raspberry pi and run it's with OLED SSD1351
could I have some examples that runs pygame on OLED screen?
could I have some examples that runs pygame on OLED screen?
screen.fill((0,0,0)) # fill the screen with white
bird.draw(screen) # draw the bird to the screen
pygame.draw.rect(screen,white,[64, 0, 5, 130])
pygame.draw.rect(screen,gray,[68,0,2,130])
pygame.display.update() # update the screen
clock.tick(40)thankyou
