qosamotor.blogg.se

Particle photon ios app builder
Particle photon ios app builder












particle photon ios app builder

I can get a secret API Key from the Particle Photon's cloud based Console.

particle photon ios app builder

See how it doesn't just enumerate devices, but also cloud methods that hang off devices? LOVE THIS. int led1 = D0 įrom the command line I can use the Particle command line interface (CLI) to enumerate my devices: C:\Users\scott>particle list Those cloud methods take a string, so there's no enum for the on/off command. This one creates a cloud function called "led" and binds it to the "ledToggle" method. Here's a standard "blink an LED" Hello world on a Photon. From there you can list out your Photons, see their available functions, and even call functions over the internet! A hacker's delight, to be sure.

particle photon ios app builder

Particle Photon also has a node.js based command line. It's super easy to setup and it has a cloud-based IDE with tons of examples written in C and Node.js for you to use. The Photon is a tiny little device with Wi-Fi built-in. Tonight I'm going to try to hook the Particle Photon up to the Azure IoT hub for monitoring. A few days ago I was able to get the Onion Omega to show my blood sugar on a small OLED screen, which was cool. I've got a Particle Photon here, as well as a Tessel 2, a LattePanda, Funduino, and Onion Omega. I had some devices on my desk - some of which I had never really gotten around to exploring - and I thought I'd see if I could accomplish something. Yesterday I had shoulder surgery (adhesive capsulitis release) so today I'm messing around with Azure IoT Hub.














Particle photon ios app builder