You are here

CE97311 - PSoC® 4 M: CAN Simplex Communication with CapSense® | サイプレス セミコンダクタ

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.