Skip to content
  • Live
  • Blog
  • Shop
  • Contact
  • About
  • Discord
  • GitHub
  • YouTube
  • Twitch
  • Instagram
CheerLights

CheerLights

We are all connected.

CheerLights on GitHub, Twitch, and Discord. We are all connected.
  • Learn
  • Build
  • Connect
  • Toggle search form

Use MATLAB to Read the Latest CheerLights Color from ThingSpeak

Posted on October 28, 2022October 28, 2022 By Hans Scharler No Comments on Use MATLAB to Read the Latest CheerLights Color from ThingSpeak

If you are working in MATLAB, it is pretty easy to pull in the latest CheerLights color and work with it.

thingspeak_data = webread("http://api.thingspeak.com/channels/1417/field/2/last.json");
color = thingspeak_data.field2

I used this code for the MATLAB Central Coding Contest to create cool images in 280 characters or less. I use the latest CheerLights color to set the color of the night sky in my Starry Night image.

MATLAB Code Contest: Starry Night Inspired by the CheerLights Color

And, just in time for Halloween, I created a CheerLights-inspired pumpkin illuminated with the latest CheerLights color… FearLights! If hit “Remix” on my code and re-run it, you will likely get a slightly different pumpkin. It has been fun to play with.

CheerLights Pumpkin Designed in MATLAB

MATLAB users have created over 480 awesome images using very little MATLAB code. Check out the gallery of images at MATLAB Central.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Reddit (Opens in new window) Reddit
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print

Related

FearLights, Projects Tags:contest, MATLAB, thingspeak

Post navigation

Previous Post: Make Your Own CheerLights Display for Halloween #FearLights
Next Post: Tom’s Hardware Logo Turned into a Pumpkin for Halloween

Related Posts

An LED sign spelling IDEAS in CheerLights colors Ideas for taking CheerLights further… Ideas
Use the Mathematica HTTPRequest Symbol to Get CheerLights Data Projects
An LED sign spelling APPS in CheerLights colors CheerLights Android App Apps

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • CheerLights Turns 15: Thank You for Making It Yours
  • Build Your First CheerLights Light with WLED
  • CheerLights Updates: llms.txt and a Refreshed API Reference
  • Flash WLED on an ESP32-C3 and Sync It to CheerLights
  • CheerLights Stream Deck Plugin: Animated Bubbles and Aurora

Copyright © 2026 CheerLights.

Powered by PressBook Grid Blogs theme

Loading Comments...