GPIO, I2C, SPI, PWM, ADC, DAC, Serial and more!
.NET nanoFramework has support for GPIO, I2C, SPI, PWM, ADC, DAC, Serial, 1-Wire. Also the API are aligned with .NET IoT making it easy for code reuse between development on a Raspberry Pi with .NET 6.0 and an MCU running .NET nanoFramework.
A comparison on how to reuse code and the differences between .NET IoT and .NET nanoFramework is available here.
There are dedicated classes with detailed documentation and samples for each of them:
General Purpose Input and Output (GPIO): System.Device.Gpio and associated documentation for the class library
Serial Peripheral Interface (SPI): System.Device.Spiand associated document for the class library
Inter-Integrated Circuit (I2C): System.Device.I2c and associated document for the class library
Digital-to-analog converter (DAC): System.Device.Dac and associated document for the class library
Analog-to-digital converter (ADC): System.Device.Adc and associated document for the class library
Pulse-width Modulation (PWM): System.Device.Pwm and associated document for the class library
Serial Port: System.IO.Portsand associated documentation for the class library
One Wire or 1-Wire: nanoFramework.Device.OneWire and associated document for the class library
Top comments (0)