This page explains how to compile firmware with WBO2 support
Make sure you read and understand
Adding WBO2 support to firmware is very simple. It needs to be defined in my_make. See GenBoard/Manual/Firmware for more info on compiling and uploading firmware.
enable WBO2 support in my_make
- MY_CONF += -D WBO2
that's all you need to add (uncomment).
This enables support for 1 WBO2 channel, with default input and output mapping (that matches 1st onboard WBO2 channel).
These are default, so no need to uncomment:
- MY_CONF += -D HEATER_PORT=PORTG (default)
- MY_CONF += -D HEATER=0 (default)
using the 2nd channel's heater for WBO2
the 2nd WBO2 heater (FET) can be used easily (if the 1st heater FET is used for something else, or the 2nd is more convenient to install for some reason):
- MY_CONF += -D HEATER_PORT=PORTG
- MY_CONF += -D HEATER=1
only for experts
If an experienced user wants to play mix and match, and change eg. input channel, he can do so, but care is needed to be consistent. The manual describes the default setup unless noted otherwise.
- GenBoard/Manual/WBSensor important, since there are configuration and other tasks to make it work properly