Fix main script FS template

This commit is contained in:
iabdalkader 2015-08-13 23:15:57 +02:00
parent eb29fc8894
commit 7d949694ef

View File

@ -65,7 +65,8 @@ static const char fresh_main_py[] =
"# main.py -- put your code here!\n"
"import pyb, time\n"
"led = pyb.LED(3)\n"
"while (vcp_is_connected()==False):\n"
"usb = pyb.USB_VCP()\n"
"while (usb.isconnected()==False):\n"
" led.on()\n"
" time.sleep(150)\n"
" led.off()\n"