Jump to content
C4 Forums | Control4
  • 0

What's the basic workflow for developing a Driver?


Zac

Question

I'm developing a driver for a serially connected Sensor Hub. I've watched plenty of videos in the 301/401 Driver Development series and I write code for a living.

The problem with those videos is that they skip from the high level explanation of the Proxy Layer straight to the low level explanation of Lua tables. I understand both of those things now, but I don't know how to take what I've written and run it against the HC250 Control4 Box I have.

I have taken the template for a TV driver and filled in the serial metadata (baudrate, parity, etc). I have the ON command ready to go. But I can't find a way to deploy that code to the actual box.

What's the best way to do this?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

you are writing a C4I or a C4z? if its just a straight C4i, you can just put the c4i file in your drivers folder add to a project like any other driver and test.

 

if C4z, same process, you just have to package into a C4z either via the command line or the driver development software

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.