Skip to content

carlsoncs/MSP430_Software_Pwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is software for the MSP430-g2553 that uses pulse width modulation to dim LED's. The pulse width modulation is generated in software using Watch Dog Timer interrupts.

I just wrote this today, so at this point it isn't very good. I am hoping to improve it so that I can use it to drive three much larger LED circuits. (In that setup the pwm signals will command the base of a BJT which in turn commands the Gate of a FET. ) I will need to improve this implementation before I get to that point though.

If you have any suggestions for me, please leave me a message!

Usage:

Requirements:

You'll need a c compiler and you'll need the msp430 build tools from energia. You can use make to build and flash easily.

Building:

$ make

Flashing:

$ make flash

Clean:

$ make clean

								** LEGAL **
	This software is 'open source' software.  It is free for
	anyone to copy or modify.  If printed or published unmodified
	please cite me as a source.  

About

GPIO PWM in Software Controlled by ADC Input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published