character LCD module to I2C adapter http://mbed.org/users/okini3939/notebook/i2c-lcd-library/
Embed:
(wiki syntax)
Show/hide line numbers
Pixy2_Library.h
00001 /* 00002 * mbed library for Pixy2 Camera 00003 * Copyright (c) 2019 Jordan DUCHÊNE 00004 */ 00005 00006 00007 00008 #ifndef Pixy2_Library_H 00009 #define Pixy2_Library_H 00010 #include "mbed.h" 00011 00012 /** 00013 Pixy2_Library class 00014 */ 00015 class Pixy2_Library { 00016 00017 I2C* composant; 00018 int I2Caddress; 00019 00020 public: 00021 00022 Pixy2_Library (PinName p_sda, PinName p_scl, int address); 00023 void Pixy2_WhiteLED(bool); 00024 void Pixy2_SetServo(int,int); 00025 void Pixy2_RGBLED(bool); 00026 int Pixy2_GetBlock(char,int); 00027 00028 }; 00029 00030 #endif
Generated on Sun Jul 31 2022 09:33:15 by
1.7.2