You are here

CE97311 - PSoC® 4 M: CAN Simplex Communication with CapSense® | Cypress Semiconductor

CE97311 - PSoC® 4 M: CAN Simplex Communication with CapSense®

최신 업데이트: 
2020년 5월 31일
버전: 
*B

This code example demonstrates how to send and receive data over the CAN bus. The status of the CapSense® button is sent over the CAN to control LEDs at the CAN receiver.

개요

This code example demonstrates the configuration and use of the CAN Tx and CAN Rx mailboxes. Five CapSense buttons are configured to control the ON/OFF status, color, and brightness of an RGB LED. This data is transmitted over the CAN, and at the CAN receiver, the RGB LED is configured to reflect the received data.