- DC 모터: 압력 전류 방향으로 방향 제어, 고회전에 유리, RC카 등
- 서보 모터: PWM 신호로 0-180도 위치 설정 가능, 제한적 범위; 정확한 위치 제어, 로봇 관절 등 회전각 제어
- 스텝 모터: 방향 속도 + 회전각 정밀 제어. 제어 복잡. 고회전보단 정밀 제어. 3D 프린터 등
Rx에 high를 주었을 때 Cy에서 high가 읽히면 버튼x y가 눌린 것
byte R[4] = { ?, ?, ?, ? };| import java.math.BigDecimal | |
| import java.math.MathContext | |
| fun main (args: Array<String>) { | |
| println(calculate("0" + readLine())) | |
| } | |
| val operators: Map<Char, (BigDecimal, BigDecimal) -> BigDecimal> = sortedMapOf( | |
| '+' to { a, b -> a.add(b) }, | |
| '-' to { a, b -> a.minus(b) }, |
| const axios = require('axios') | |
| const chatId = ??? | |
| const token = '???' | |
| const api = 'https://api.telegram.org' | |
| const page = 'https://www.ubuntu.com/download/desktop' | |
| const delay = t => new Promise((res, rej) => setTimeout(res, t)) | |
| async function wow () { |
| function* read (n) { | |
| while ((n = Number(prompt('enter a number')))) yield n } | |
| const main = (arr = [...read()].sort((a, b) => a - b)) => | |
| console.log('arr:', arr.slice(), '\nmin:', arr.shift(), '\nmax:', arr.pop()) |
| setInterval((_ = Date.now() / 30 % 360) => | |
| console.clear() || console.log('%c[Warning]', ` | |
| font-size: 500%; | |
| font-weight: bold; | |
| color: hsl(${_}, 100%, 90%); | |
| background-color: hsl(${_}, 100%, 30%); | |
| text-shadow: .08em .08em hsl(${_}, 100%, 20%)`), 75) |
| const R = Math.PI / 180 | |
| const S = [0, 30, 45, 60, 90] | |
| const T = ['sin', 'cos', 'tan'] | |
| const range = n => [...Array(n).keys()] | |
| const merge = oo => Object.assign({}, ...oo) | |
| const rad = (f, a) => Math[f](a * R).toFixed(8) | |
| const inf = x => | |
| x > Number.MAX_SAFE_INTEGER && Number.POSITIVE_INFINITY || |
| [57] 감자볼 | |
| [41] 감자볼튀김 | |
| [38] 돈육감자조림 | |
| [34] 감자탕 | |
| [28] 감자튀김 | |
| [28] 메쉬드포테이토 | |
| [20] 감자채볶음 | |
| [19] 회오리감자 | |
| [18] 감자조림 | |
| [18] 주름감자 |
| /* fit resize handle position */ | |
| body.overlay::after { | |
| right: 0.25rem; | |
| bottom: 0.25rem; | |
| } | |
| /* round border */ | |
| nav > .container { |