This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"4.67.0": { | |
"templates": "https://functionscdn.azureedge.net/public/TemplatesApi/3.1.1648.zip", | |
"workerRuntimes": { | |
"dotnet": { | |
"net6": { | |
"displayInfo": { | |
"displayName": ".NET 6.0", | |
"hidden": false, | |
"displayVersion": "v4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <auto-generated/> | |
using System; | |
using System.Collections.Generic; | |
using System.Collections.Immutable; | |
using System.Text.Json; | |
using System.Threading.Tasks; | |
using Microsoft.Azure.Functions.Core; | |
using Microsoft.Azure.Functions.Worker.Core.FunctionMetadata; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WebUSB.h> | |
/** | |
* Creating an instance of WebUSBWebSerial will add an additional USB interface to | |
* the device that is marked as vendor-specific (rather than USB CDC-ACM) and | |
* is therefore accessible to the browser. | |
* | |
* The URL here provides a hint to the browser about what page the user should | |
* navigate to to interact with the device. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import sys | |
import asyncio | |
import websockets | |
import cozmo | |
from cozmo.util import degrees | |
import time | |
from io import BytesIO | |
CMD_SPEAK = 0x01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
var app = express(); | |
var Wemo = require('wemo-client'); | |
var wemo = new Wemo(); | |
var devices = []; | |
var client = undefined; | |
var cors = require('cors'); | |
app.use(cors()) |