|
I2C bytes to Arduino in LV?
We want to send data to an Arduino via I2C in LabVIEW. We have the Arduino side worked out. We don't know how to send the bits and bytes to the Arduino in LabVIEW. We want to send three bytes or registers (if that is the correct terminology) that:
Register 1 - select The LED group number (1-12).
Register 2 - A function code. Here's a list: DIM, FLASH, MODULATE, FLASHMOD
Register 3 - data, For the functions (how fast to dim, how quick to flash etc.).
I was hoping to find an example of someone talking to an Arduino (or similar board) via the FRC breakout I2C. And yes we could just use the I/O on the breakout for the LEDs but we want to learn I2C for the future.
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080
Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812
#banthebag
#RIBMEATS
#1620
|