library for the motor driver

Dependents:   4180_final_project

Fork of libTCS34725 by Michael Wilkens

Committer:
mwilkens241
Date:
Thu Jan 19 18:53:40 2017 +0000
Revision:
0:4796574af790
Child:
1:06c9bbbdb8b0
started framework for rgb sensor library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mwilkens241 0:4796574af790 1 #include "TCS34725.h"
mwilkens241 0:4796574af790 2
mwilkens241 0:4796574af790 3 void i2cWrite8(uint8_t addr, char reg, char data){
mwilkens241 0:4796574af790 4
mwilkens241 0:4796574af790 5 }
mwilkens241 0:4796574af790 6
mwilkens241 0:4796574af790 7 uint8_t i2cRead8(uint8_t addr, char reg){
mwilkens241 0:4796574af790 8
mwilkens241 0:4796574af790 9 }
mwilkens241 0:4796574af790 10
mwilkens241 0:4796574af790 11 uint16_t i2cRead16(uint8_t addr, char reg){
mwilkens241 0:4796574af790 12
mwilkens241 0:4796574af790 13 }
mwilkens241 0:4796574af790 14
mwilkens241 0:4796574af790 15 TCS34725_init(char intTime, char gain){
mwilkens241 0:4796574af790 16
mwilkens241 0:4796574af790 17 }
mwilkens241 0:4796574af790 18
mwilkens241 0:4796574af790 19 TCS34725_config(char intTime, char gain){
mwilkens241 0:4796574af790 20
mwilkens241 0:4796574af790 21 }
mwilkens241 0:4796574af790 22
mwilkens241 0:4796574af790 23 TCS34725_getColor(uint16_t *r, uint16_t *g, uint16_t *b, uint16_t *c){
mwilkens241 0:4796574af790 24
mwilkens241 0:4796574af790 25 }