Skip to content

Instantly share code, notes, and snippets.

View hnky's full-sized avatar

Henk Boelman hnky

View GitHub Profile
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"dtlName": "AzureChallenge",
"dtlId": "[resourceId('Microsoft.DevTestLab/labs', variables('dtlName'))]",
"dtlVnetName": "DevCampVnet",
"dtlVnetId": "[resourceId('Microsoft.DevTestLab/labs/virtualNetworks', variables('dtlName'), variables('dtlVnetName'))]",
"dtlVmName": "[concat('Dev', '-', take(uniqueString(resourceGroup().id), 4))]",
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
using Windows.Devices.Spi;
namespace RaspberryModules.App.Modules
{
public class SPIDisplay