Commits

Anonymous committed 84c8fa1 Draft

correct main.py for correct clone and discover

Comments (0)

Files changed (1)

src/platform/stm32f4/main.py

     """
     while True:
         wait_BTN_release()
-        print "btn release ..."
         x.AXEL(0)
         LED_all();
         while 0==x.BTN(): # until push USER BUTTON
           LED_axel_indicate(axel)
           wait_a_bit()
 
-def my_test():
-    """
-        the main test ...
-    """
-    sys.gc()
-    for j in range(0,200,10) :
-        print j
-        # LED_glow_seq(j)
-        x.LED(0,j)
-        x.LED(1,j)
-        x.LED(2,j)
-        x.LED(3,j)
-        while 0==x.BTN():
-          wait_a_bit()
-        wait_BTN_release()
-        sys.gc()
-        print "hello"
-
 def main():
     """
     """
-    #my_test()
-    print "hello"
     launch_ipm()
     #default_demo()
     #gpio_demo()
 
-print "going to launch main"
 main()