주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

모델링

R2025b
하드웨어 연결을 위한 모델 준비, 하드웨어 프로토콜 지원을 위한 블록 추가

하드웨어 연결을 위한 Simulink® 모델을 준비하고, 하드웨어 프로토콜 지원을 위한 블록을 추가하고, 다양한 응용 사례를 다루는 예제를 참조합니다.

블록

모두 확장

Digital Read blockDigital ReadRead logical state of digital input pin
Digital Write blockDigital WriteSet logical state of digital output pin
Analog Input blockAnalog InputMeasure voltage of analog input pin
PWM Output blockPWM OutputGenerate square wave on the specified output pin
I2C Controller Read blockI2C Master ReadRead data from I2C Peripheral devices or I2C Peripheral devices register
I2C Controller Write blockI2C Master WriteWrite data to I2C peripheral devices or I2C peripheral devices register
SPI Register Read blockSPI Register ReadRead data from SPI peripheral devices register
SPI Register Write blockSPI Register WriteWrite data to registers of SPI peripheral devices
SPI Controller Transfer blockSPI Master TransferWrite data to and read data from SPI peripheral devices
SCI Read blockSCI ReadRead N-by-1 array of data on UART
SCI Write blockSCI WriteSend N-by-1 array of data to UART
MMA8652FC 3-Axis Accelerometer blockMMA8652FC 3-Axis AccelerometerGet measurement of linear acceleration along the X, Y, and Z axes of the MMA8652FC 3-Axis chip
Accelerometer X-Y-Z blockAccelerometer X-Y-ZGet measurement of linear acceleration along the X, Y, and Z axes of the Accelerometer (R2023b 이후)
MAG3110 3-Axis Magnetometer blockMAG3110 3-Axis MagnetometerGet measurement of magnetic field along the X, Y, and Z axes of the MAG3110 3-Axis chip
Magnetometer X-Y-Z blockMagnetometer X-Y-ZGet measurement of magnetic field along the X, Y, and Z axes of the Magnetometer (R2023b 이후)
5x5 LED Matrix block5x5 LED MatrixOutput 5x5 LED image on board
LED Text Scroll blockLED Text ScrollCreate scrolling text for BBC micro:bit
Radio Receive blockRadio ReceiveReceive data from micro:bit devices via radio
Radio Transmit blockRadio TransmitTransmit data to micro:bit devices via radio
Note Generator blockNote GeneratorGenerate frequency corresponding to a musical note
Play Note blockPlay NotePlay musical note on specified pin on BBC micro:bit

도움말 항목