main.js(モーター)
'use strict';
var direction=1;
window.addEventListener('load', function (){
function Sleep(millisec) {
var start = new Date();
…
var direction=1;
window.addEventListener('load', function (){
function Sleep(millisec) {
var start = new Date();
…