文件名称:CE195362_PSoC4_EZI2C_Slave_SCB
文件大小:373KB
文件格式:PDF
更新时间:2021-08-26 04:43:21
EZI2C
CE195362 – PSoC 4 EZI2C Slave with Serial Communication Block (SCB) This code example implements an I2C Slave using a Serial Communication Block (SCB) Component (configured as EZI2C), which receives the data required to control an RGB LED from an I2C Master. In this example, a host PC running the Cypress Bridge Control Panel (BCP) software is used as an I2C Master. RGB LED control is implemented using three TCPWM Components (configured as PWM). The color and intensity of the RGB LED is controlled by changing the duty cycle of the PWM signals