Skip to content

Commit 835f2ea

Browse files
authored
delete garbage collection not needed for 4.x
1 parent bf929b1 commit 835f2ea

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • Cirecuit_Playground_Express_Pinata

Cirecuit_Playground_Express_Pinata/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# Circuit Playground Express Piñata by Dano Wall for Adafruit Industries
22
# CircuitPython code by Mike Barela for Adafruit Industries, MIT License
33
import time
4-
import gc
54
import random
65
import board
76
import pulseio
87
from adafruit_motor import servo
98
from adafruit_circuitplayground.express import cpx
10-
gc.collect()
119

1210
# create a PWMOut object on CPX Pin A1
1311
pwm = pulseio.PWMOut(board.A1, frequency=50)

0 commit comments

Comments
 (0)