Arduino101 录音机

« 返回首页

Arduino101SoundRecorder 录音机

Arduino 101 录音机扩展模块允许用户控制连接到 Grove Shield 的录音机和播放设备。

更多链接<ul><li>下载示例项目。</li><li>查看 Arduino 101 录音机的操作说明。</li></ul>

属性

  • BluetoothDevice – The BluetoothLE component with a connection to the Arduino 101.

get Arduino101SoundRecorder1 BluetoothDevice

set Arduino101SoundRecorder1 BluetoothDevice  to

  • PlayPin – The digital pin used to trigger playback. If using the Grove connector, this is the same number as the digital pin port (D4 becomes 4).

get Arduino101SoundRecorder1 PlayPin

set Arduino101SoundRecorder1 PlayPin  to

  • RecordPin – The digital pin used to trigger the recording. If using the Grove connector, this is one number higher than the digital pin port (D4 becomes 5).

get Arduino101SoundRecorder1 RecordPin

set Arduino101SoundRecorder1 RecordPin  to

方法

  • IsSupported – Tests whether the Bluetooth low energy device is broadcasting support for the service. If true, calls to TurnOn and TurnOff should work correctly. Otherwise an error will be reported through the Screen’s ErrorOccurred event.

call Arduino101SoundRecorder1 IsSupported

  • PlayRecordedSound – Trigger playback of the recorded sound.

call Arduino101SoundRecorder1 PlayRecordedSound

  • StartRecording – Start recording sound using the Sound Recorder’s microphone.

call Arduino101SoundRecorder1 StartRecording

  • StopRecording – Stop recording sound. The recording is limited to about 80 seconds of audio. If this limit is reached recording will automatically cease.

call Arduino101SoundRecorder1 StopRecording

文档反馈