No description
  • C 95.4%
  • Makefile 4.6%
Find a file
2023-03-19 22:44:58 -05:00
.gitignore Add gitignore 2023-03-16 23:40:09 -05:00
bulb.c Add the ability to print from a file 2023-03-19 22:44:58 -05:00
energy_math.c Add all the stuff from github 2023-03-16 23:00:58 -05:00
energy_math.h Add all the stuff from github 2023-03-16 23:00:58 -05:00
fixture.c Add the ability to print from a file 2023-03-19 22:44:58 -05:00
fixture.h Add the ability to print from a file 2023-03-19 22:44:58 -05:00
LICENSE Initial commit 2023-03-17 03:59:04 +00:00
Makefile Add all the stuff from github 2023-03-16 23:00:58 -05:00
README.md Add all the stuff from github 2023-03-16 23:00:58 -05:00

Bulb

A tiny cli for calculating the cost of running bulbs in a light fixture and determining their potential lifespan.

Motivation

I recently had an LED light bulb stop working in one of my fixtures. I thought the bulb had failed prematurely, but after some rough estimates and calculations I realized that the bulb was past its projected lifespan. This caused me to re-evaluate some of my lighting fixtures and the bulbs I had in them.

This utility helped me realize how much money I could save just by turning some fixtures off, or swapping out incandescents for LEDs. It also helps me estimate how long I can expect bulbs in a fixture to last before they need to be replaced.

Building

Simply run make.

Usage

Run ./bulb -h to see the usage message.