Arduino101 录音机

« 返回首页

Arduino101SoundRecorder 录音机

The Arduino 101 Sound Recorder extension lets users control a sound recorder and playback device connected to a Grove Shield.

More Links<ul><li>Download a sample project.</li><li>Vew the how to instructions for the Arduino 101 Sound Recorder.</li></ul>

Properties

  • 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

Methods

  • 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