I have been playing around with the Spark Core and am very
impressed with the built-in software support from Spark. This is a
quick project that uses Python to talk to the Spark Core using the
Spark cloud API. I also wanted the Spark Core to sent notifications to
my program, and for this I am using
Spark.publish() and Server Sent
Here is a sample run of the program. (You can get the access token from Spark Build IDE.)
You can find the source files for the project here, which has the Python code, as well as a simple Spark Core program for testing notifications. I look forward to playing with the Spark Photon next.
Need help with a hardware project or product? Drop us an email at firstname.lastname@example.org. We offer consulting services on AVR and Nordic nRF BLE - hardware design, firmware development, prototyping, PCB design/assembly, sourcing and manufacturing. We can help you bring your product to market!
We love hearing from our readers. Email us at email@example.com for questions or comments on this article. If you found this article useful, please support us by buying some of our hardware products.