Document Language: English | 简体中文
This repo contains code samples used by the team when testing, working on proof of concepts for new and improved features and other explorational endeavours. Feel free to browse, take what you like and contribute back if you want.
Note: sometimes it's convenient to reference the source code instead of the NuGet packages in projects that require debugging by following the execution flow into other projects or even class libraries. For that we recommend using a very handy Visual Studio extension that allows NuGet assembly references to project references switching. That's NuGet Reference Switcher.
If you are looking for Iot.Device samples, they are all in the Iot.Device repository.
Our samples uses 🌶️ to show how easy or complicated those samples are. The samples with 🌶️ are easy and recommended for beginners. The ones with 🌶️🌶️🌶️ are more advanced and requires some knowledge. This knowledge may not be on .NET nanoFramework but on some other elements like certificates or networking for example.
- 🌶️ - 1-Wire sample
- 🌶️ - Analogic/Digital converter
- 🌶️ - Analogic/Digital converter
- 🌶️ - Blink your first led
- 🌶️ - Digital Analog Converter sample
- 🌶️ - ESP32 Pulse Counter sample
- 🌶️ - GPIO and events sample
- 🌶️ - GPIO and events sample (.NET IoT style)
- 🌶️ - GPIO sample pack
- 🌶️ - System.Device.Pwm
- 🌶️ - System.Device.PWM sample
- 🌶️ - System.Device.Spi sample
- 🌶️ to 🌶️🌶️ - System.IO.Ports serial Communication sample
- 🌶️🌶️ - I2C sample sample pack
- 🌶️🌶️ - I2C Scanner sample
- 🌶️🌶️ - I2S Microphone sample
- 🌶️🌶️ - I2S sample pack
- 🌶️🌶️ - I2S Speaker sample
- 🌶️🌶️ - WebServer to test pour Servo Motors
- 🌶️🌶️🌶️ - Using Azure SDK with BMP280 on M5Stack with .NET nanoFramework
- 🌶️🌶️ - AMQP sample pack
- 🌶️🌶️ - Azure IoT Hub SDK with MQTT protocol
- 🌶️🌶️ - Azure IoT Plug & Play with MQTT protocol
- 🌶️🌶️ - Azure Service Bus AMQP sample
- 🌶️🌶️ - Simple sample with Azure lib and retry pattern for connection
- 🌶️🌶️ - Using a Modem like SIM7080, simple sample with Azure lib and retry pattern for connection
- 🌶️🌶️ -Azure AMQP sample
- 🌶️🌶️ to 🌶️🌶️🌶️ - Azure SDK sample pack
- 🌶️🌶️🌶️ - Azure Edge OTA example
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor with Azure lib and deep sleep
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor without Azure lib and with deep sleep
- 🌶️🌶️🌶️ - HTTP.HttpAzureGET Sample
- 🌶️🌶️🌶️ - HTTP.HttpAzurePOST Sample
- 🌶️🌶️🌶️ - Using Azure SDK with BMP280 on M5Stack with .NET nanoFramework
- Azure IoT Device Provisioning Service (DPS) example
- 🌶️ - Bluetooth Low Energy Serial profile sample
- 🌶️ - Bluetooth Low energy: adding, replacing services to the main service
- 🌶️ to 🌶️🌶️🌶️ - Bluetooth sample pack
- 🌶️🌶️ - Demonstrates how to use the watcher filter classes
- 🌶️🌶️ - Bluetooth Low energy: Broadcast current values in a Bluetooth advertisement
- 🌶️🌶️ - Bluetooth Low energy: Environmental Sensor data collection
- 🌶️🌶️ - Bluetooth Low energy: read static and dynamic values, notification, read/write value
- 🌶️🌶️ - Bluetooth Low energy: read/write with encryption a value
- 🌶️🌶️ - Bluetooth Low energy: Watch for Bluetooth Advertisements
- 🌶️🌶️🌶️ - Create an IBeacon
- 🌶️🌶️🌶️ - Bluetooth Low energy: Demonstrates pairing and authentication in Client program
- 🌶️🌶️🌶️ - Improv Wifi provisioning
- 🌶️ - ESP32 Pulse Counter sample
- 🌶️ - Hardware ESP32 Deep sleep sample
- 🌶️ - Touch pad ESP32 sample
- 🌶️ to 🌶️🌶️🌶️ - Bluetooth sample pack
- 🌶️🌶️ - Hardware ESP32 RMT sample pack
- 🌶️🌶️ - Infrared remote receiver based on VS1838 with RMT
- 🌶️🌶️ - NeoPixel Strip WS2812 with RMT
- 🌶️🌶️ - NeoPixel Strip WS2812 with RMT low memory
- 🌶️🌶️ - Simple sample with Azure lib and retry pattern for connection
- 🌶️🌶️ - Ultrasonic HC-SR04 sensor with RMT
- 🌶️🌶️ - Using a Modem like SIM7080, simple sample with Azure lib and retry pattern for connection
- 🌶️🌶️🌶️ - Create an IBeacon
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor with Azure lib and deep sleep
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor without Azure lib and with deep sleep
- 🌶️🌶️🌶️ - Improv Wifi provisioning
- 🌶️🌶️ - Graphics Primitives
- 🌶️🌶️ - Screen samples
- 🌶️🌶️ - Using an existing generic graphic driver
- 🌶️🌶️ -Simple WPF
- 🌶️🌶️ to 🌶️🌶️🌶️ -Graphics samples
- 🌶️🌶️🌶️ - Creating your own generic graphic driver
- 🌶️🌶️🌶️ - Tetris Demo Game for nanoFramework
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor with Azure lib and deep sleep
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor without Azure lib and with deep sleep
- 🌶️🌶️🌶️ - Using Azure SDK with BMP280 on M5Stack with .NET nanoFramework
- 🌶️🌶️ to 🌶️🌶️🌶️ - MQTT sample pack
- 🌶️🌶️🌶️ - Complete Azure MQTT sample using BMP280 sensor without Azure lib and with deep sleep
- 🌶️ - UdpClient sample pack
- 🌶️ - WebSocket Client Sample
- 🌶️ - WiFI samples
- 🌶️ to 🌶️🌶️ - .NET nanoFramework Webserver sample pack
- 🌶️ to 🌶️🌶️ - WebSocket sample pack
- 🌶️🌶️ - HTTP Listener sample
- 🌶️🌶️ - HTTP sample pack
- 🌶️🌶️ - HTTP WebRequest sample
- 🌶️🌶️ - Networking sample pack
- 🌶️🌶️ - OpenTHread Networking sample pack
- 🌶️🌶️ - WebServer to test pour Servo Motors
- 🌶️🌶️ - WebSocket Server Sample with RGB Led
- 🌶️🌶️ - WebSocket ServerClient Sample
- 🌶️🌶️ - Wifi Soft AP sample
- 🌶️🌶️ to 🌶️🌶️🌶️ - MQTT sample pack
- 🌶️🌶️ to 🌶️🌶️🌶️ - TLS sample pack
- 🌶️🌶️🌶️ - HTTP.HttpAzureGET Sample
- 🌶️🌶️🌶️ - HTTP.HttpAzurePOST Sample
- 🌶️ - Giant Gecko Read Device IDs
- 🌶️ - STM32 Alarm
- 🌶️ - STM32 Read Device ID
- 🌶️ to 🌶️🌶️ - Hardware STM32 sample pack
- 🌶️🌶️ - STM32 Backup Memory
- 🌶️🌶️ - STM32 Power Mode
- 🌶️ - Texas Instruments EasyLink sample pack
- 🌶️ - TI utilities read IEEE address
- 🌶️ to 🌶️🌶️ - Hardware TI SimpleLink sample pack
- 🌶️🌶️ - TI Power Mode
- 🌶️ - Dependency injection sample pack
- 🌶️ - Logging samples
- 🌶️ - Unit Test framework sample pack
- 🌶️🌶️ - Hosting sample pack
- 🌶️ - Collections sample
- 🌶️ - Convert Base64 sample pack
- 🌶️ - Debug Garbage Collector Test
- 🌶️ - GPIO and events sample
- 🌶️ - GPIO and events sample (.NET IoT style)
- 🌶️ - Managed resources sample
- 🌶️ - Number Parsing sample pack
- 🌶️ - RTC sample
- 🌶️ - System.Random sample
- 🌶️ - ToString samples
- 🌶️ to 🌶️🌶️ - Threading sample pack
- 🌶️🌶️ - Execution Constraint demo
- 🌶️🌶️ - GC stress test
- 🌶️🌶️ - Native events sample
- 🌶️🌶️ - Reflection sample pack
- 🌶️🌶️🌶️ - Interop sample
For documentation, providing feedback, issues and finding out how to contribute please refer to the Home repo.
Join our Discord community here.
The list of contributors to this project can be found at CONTRIBUTORS.
The nanoFramework samples are licensed under the MIT license.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
This project is supported by the .NET Foundation.