출처 : Raspberry Pi to Arduino SPI Communication spi 확인 $ gpio load spi gpio: Unable to load/unload modules as this Pi has the device tree enabled. You need to run the raspi-config program (as root) and select the modules (SPI or I2C) that you wish to load/unload there and reboot. There is more information here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=97314 배선 소스 - Arduino (Master)..
출처 : Raspberry Pi + Arduino + SPI - MitchTech | MitchTech 배선 소스 - Arduino (Slave) // Written by Nick Gammon // February 2011 /** * Send arbitrary number of bits at whatever clock rate (tested at 500 KHZ and 500 HZ). * This script will capture the SPI bytes, when a '\n' is recieved it will then output * the captured byte stream via the serial. */ #include char buf [100]; volatile byte pos; volati..
출처 : Analog Read Serial 배선 소스 /* AnalogReadSerial Reads an analog input on pin 0, prints the result to the serial monitor. Graphical representation is available using serial plotter (Tools > Serial Plotter menu) Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. This example code is in the public domain. */ // the setup routine runs once when you press re..
- Total
- Today
- Yesterday
- Mac
- NDK
- 전예희
- Linux
- 지스타2007
- MySQL
- SAS
- 일본여행
- Spring MVC
- ffmpeg
- 동경
- Spring
- JavaScript
- Delphi Tip
- Delphi
- 레이싱모델 익스트림 포토 페스티벌
- flex
- 서울오토살롱
- KOBA
- koba2010
- Java
- ubuntu
- 튜닝쇼 2008
- ble
- 송주경
- BPI-M4
- Xcode
- android
- sas2009
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |