Skip to content

Commit be79cfd

Browse files
authored
Generate and display the QR code on the CyberPi's display
Generate and display the QR code on the CyberPi's display.
1 parent 701e4db commit be79cfd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import cyberpi
2+
3+
my_sprite = cyberpi.sprite()
4+
my_sprite.draw_QR("https://github.com/PerfecXX")
5+
my_sprite.set_size(400)
6+
cyberpi.screen.render()

0 commit comments

Comments
 (0)