This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cfnet:cfdac2v [2026/02/21 23:49] – created - external edit 127.0.0.1 | cfnet:cfdac2v [2026/02/22 00:08] (current) – admin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| =====Wiring method===== | =====Wiring method===== | ||
| - | {{: | + | {{.: |
| ===== Setting the module' | ===== Setting the module' | ||
| * Up to 8 CFDAC-1Vs can be used in one system with different address settings of 0x00~0x07. | * Up to 8 CFDAC-1Vs can be used in one system with different address settings of 0x00~0x07. | ||
| - | {{ : | + | {{ .: |
| - | =====How to use the API===== | + | [[index|CFNET]] |
| - | 1. < | ||
| - | |||
| - | 2. CFNET object creation: '' | ||
| - | |||
| - | 3. Call the function(s): | ||
| - | |||
| - | ====-void analogWrite(u8 address, u8 channel, u16 data); ==== | ||
| - | Outputs the voltage (0 ~ 10V) corresponding to the provided '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | <code c> | ||
| - | #include " | ||
| - | |||
| - | CFNET cfnet; | ||
| - | |||
| - | void setup() { | ||
| - | } | ||
| - | |||
| - | void loop() { | ||
| - | | ||
| - | | ||
| - | | ||
| - | } | ||
| - | |||
| - | </ | ||
| - | |||
| - | [[modularfaduino: | ||