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
- 🌶️ - 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
- 🌶️🌶️🌶️ - 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
- 🌶️🌶️ -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
- 🌶️🌶️ - Bluetooth Low energy: read static and dynamic values, notification, read/write value
- 🌶️🌶️ - Bluetooth Low energy: read/write with encryption a value
- 🌶️🌶️🌶️ - Improv Wifi provisioning
- 🌶️ - Hardware ESP32 Deep sleep sample
- 🌶️ to 🌶️🌶️🌶️ - Bluetooth sample pack
- 🌶️🌶️ - Hardware ESP32 RMT sample pack
- 🌶️🌶️ - 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
- 🌶️🌶️🌶️ - 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
- 🌶️🌶️ -Simple WPF
- 🌶️🌶️ to 🌶️🌶️🌶️ -Graphics samples
- 🌶️🌶️🌶️ - 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
- 🌶️🌶️ - 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
- 🌶️ 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.