標(biāo)題: ATtiny13-RGB-LED-Colormixer源程序 [打印本頁(yè)] 作者: pannygg 時(shí)間: 2018-8-6 22:29 標(biāo)題: ATtiny13-RGB-LED-Colormixer源程序 RGB LED MIXER- In this project we used the attiny 13 microcntroller for operating the RGB LED AND COLOR MIXING.
單片機(jī)源程序如下:
/*
Chapter - 2
Project - 3 RGB Colormixer
*/
#include<avr/io.h>
#include<avr/interrupt.h>
#define F_CPU 9600000UL
#include<util/delay.h>
//Prototypes
//This function is called to switch on the LED at the