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, 2022November 28, 2026 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


Discover more from CheerLights

Subscribe to get the latest posts sent to your email.

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

Analyzing CheerLights with MATLAB Projects
Greenlight A Vet Happened – How Did We Do? 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.

Get new CheerLights posts by email

Tutorials, new builds, and announcements, one email per post.

  • CheerLights for Home Assistant: Your Lights Follow the Color Everyone Shares
  • CheerLights Terminal 0.2: Watch the Color Change Live in Your Terminal
  • CheerLights on an omg.lol Profile Card: A Display With No Hardware
  • CheerLights on Bluesky: Post a Color and Lights Around the World Change
  • Pimoroni CheerLights Examples: Six Boards, From Presto to Mighty FX

Copyright © 2026 CheerLights.

Powered by PressBook Grid Blogs theme

Loading Comments...