The Raspberry Pi's IO Functionality in an easy-to-use API for Mono/.NET/C#
Pi.Info is not reporting LibraryVersion #168
Add a new Bluetooth controller to Pi
class with methods to manipulate Bluetooth and devices.
Fixed issues #101 and #102
Basic audio settings have been implemented in RaspberryIO:
Users set an audio card, an audio device and an audio command to perform an audio action. Example of audio tasks:
await Pi.PiVolumeControl.SetVolumePercentage(85).ConfigureAwait(false);
await Pi.PiVolumeControl.SetVolumeByDecibels(-1.00f).ConfigureAwait(false);
The code above sets the volume level in two different formats: Percentage or Decibels. The first method sets the volume on percentage (0% - 100%) and the second sets the volume level on decibels(dB) (-101.32dB - 4.00dB).
Users can consult the current audio settings by using the method GetState. An example is shown below:
var currentState = await Pi.Audio.GetState().ConfigureAwait(false);
Console.WriteLine(currentState);
The same result can be achieved by setting the volume level to 0% or -9999.99dB.
Fix fatal exception when HardwareException
is thrown.
Check changelog.