티스토리 뷰
728x90
출처
- M5-ProductExampleCodes/Hat/beetleC/stickC/beetleC at master · m5stack/M5-ProductExampleCodes · GitHub
- M5Stack - A series of modular stackable development devices (PC : EasyLoader)
- M5Stick-Car - M5Stack Projects : hackster.io
- M5Stick-Car - HomeMadeGarbage
- Blynk - IoT for Arduino, ESP8266/32, Raspberry Pi - Google Play 앱
- GitHub - blynkkk/blynk-library: Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
- GitHub - blynkkk/blynkkk.github.io: GitHub pages
- GitHub - blynkkk/blynk-server: Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes
- Blynk Example Browser
M5StickC : BeetleC 모터제어
BeatleC는 두개의 모터 드라이버(STM32F030)와 7 개의 RGB LED, M5StickC (ESP32 기반 Wi-Fi 제어 기능)와 함께 사용하여 가장 작은 RC Car 입니다.
#include <M5StickC.h> #include "carControl.h" void blink() { for(int num = 0; num < 7; num++) { uint32_t color = 0x11 << 16; led(num, color); delay(100); led(num, 0x00); } delay(100); for(int num = 0; num < 7; num++) { uint32_t color = 0x11 << 16; led(num, color); delay(100); led(num, 0x00); } delay(100); for(int num = 0; num < 7; num++) { uint32_t color = 0x11 << 16; led(num, color); delay(100); led(num, 0x00); } } void setup() { // initialize the M5StickC object M5.begin(); Wire.begin(0, 26); M5.Lcd.fillScreen(WHITE); M5.Lcd.fillScreen(BLACK); M5.Lcd.setRotation(1); M5.Lcd.setCursor(40, 20, 1); M5.Lcd.setTextSize(2); // M5.Lcd.println("BeetleC"); blink(); leftwheel(0); rightwheel(0); } // the loop routine runs over and over again forever void loop() { leftwheel(20); rightwheel(20); delay(500); leftwheel(-20); rightwheel(-20); delay(500); leftwheel(0); rightwheel(0); }
실행 영상
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- ubuntu
- 송주경
- Java
- Delphi Tip
- Mac
- Xcode
- JavaScript
- oracle
- android
- ffmpeg
- MySQL
- 전예희
- koba2010
- Spring MVC
- 일본여행
- flex
- Spring
- Linux
- BPI-M4
- 서울오토살롱
- Delphi
- sas2009
- ble
- 튜닝쇼 2008
- KOBA
- SAS
- 동경
- NDK
- 레이싱모델 익스트림 포토 페스티벌
- 지스타2007
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함