Skip to content

Monocle keep reset\rebooting #283

Description

@moragab1993

Hello, I have an issue with my Monocle.

After I uploaded the code, the monocle keep reset itself, and I could not connect to it

The code I wrote is just simple code. that change the position between polyline and polygon

import display
import time

poly = display.Polyline([101, 0, 126, 25, 101, 50, 76, 25, 101, 0], display.WHITE)
poly2 = display.Polyline([101, 100, 126, 125, 101, 150, 76, 125, 101, 100], display.WHITE,thickness=1)
poly3 = display.Polyline([101, 200, 126, 225, 101, 250, 76, 225, 101, 200], display.WHITE,thickness=1)
poly4 = display.Polygon([101, 300, 126, 325, 101, 350, 76, 325, 101, 300], display.WHITE,thickness=1)

g=[poly4,poly3,poly2,poly]
display.show(g)
time.sleep(0.5)

poly4.move(0,-100)
poly3.move(0,100)
display.show(g)
time.sleep(0.5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions