10 Star 17 Fork 10

GrayPillow / Ananas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TLC5615.h 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
GrayPillow 提交于 2016-06-02 23:20 . test Ananans0.9.2
/*
TLC5615.h - Arduino library support for the Digital-to-Analog conversion chip TLC5615
Created by Luffy, May 1,2014.
Released into the public domain.
ver 1.0 BATE
*/
#ifndef TLC5615_h
#define TLC5615_h
#include "Arduino.h"
#include "Ananas.h"
#if DEVICE == DIY_TEST
#define FAST_IO
#endif
//#ifdef FAST_IO
//#include "fastio.h"
//#endif
class TLC5615
{
public:
TLC5615(uint8_t DIN, uint8_t SCLK, uint8_t CS);
void InitTLC5615();
void DAConvert(uint16_t data);
private:
uint8_t DIN_Pin;
uint8_t SCLK_Pin;
uint8_t CS_Pin;
};
#endif
C++
1
https://gitee.com/GaryPillow/Ananas.git
git@gitee.com:GaryPillow/Ananas.git
GaryPillow
Ananas
Ananas
PID

搜索帮助