Skip to content

branimir-kirilov/PhotoLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Coverage Status NuGet Pre Release

Photo Life

Interested in photography? Ambitious to learn from the best? Ambitious to share your own photos and receive reviews? This is the place for you!

App Harbor Deployment


Fancy code coverage RGB LED strip

:bowtie: Using the Wemos D1 (based on ESP8266 and programmable in the Arduino IDE) I managed to create a simple sketch that changes RGB LED strip's colors according to the percentage of code coverage. It makes a call to the coveralls API every 5 minutes (for now) and changes the colors from red (below 50% code coverage) to green (above 90%).

Below 50% code coverage color (Red, #FF0000)

Below 50

Just above 50% code coverage color (Some kind of orange, #FF3300)

55

This is the schema I used to connect the RGB strip. I didn't use a breadboard. The N-Channel MOSFETs I bought are common - IRLN540N

Connecting the RGB LED strip

I managed to fit the whole messy thing in a little cardboard box and left a hole only for the 12V power source and the led stripe output.

Inside the box

TODOs:

  • Implement counting views
  • Implement counting likes (for posts only)
  • Improve user experience
  • Impove user interface