__ __ \ \ / / \ V / | | |_|
_______ ( ) | () () | | || || | | |(_)| | | | | | | ) ( | |/ \|
##### ## ## ## ## ##### ## ##
___ ( _`\ | (_(_) `\__ \ ( )_) | `\____)
___ / _ \ | | | | | |_| | \__\_\
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: '''This page explains how to compile firmware with WBO2 support''' Make sure you read and understand * GenBoard/Manual/License * GenBoard/Manual/License/WBSensor 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. ---- See also * GenBoard/Manual/WBSensor important, since there are configuration and other tasks to make it work properly Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.