This commit is contained in:
Vitor de Miranda Henrique
2018-02-28 23:30:58 -06:00

View File

@@ -73,8 +73,7 @@ Copy the serial number, you will need to configure the plugin
Enable I2C on your raspberry pi, depending on raspi-config version, step by step can be different:
<pre><code>
Run sudo raspi-config
<pre><code>Run sudo raspi-config
Use the down arrow to select 9 Advanced Options
Arrow down to A7 I2C
Select yes when it asks you to enable I2C
@@ -173,7 +172,7 @@ Regular outputs
Id is generated on the setting plugin, value can be 0 to turn OFF the output or 1 to turn ON output. Ex: sending ENC O2 S1 would turn ON output 2.
PWM outputs
<pre><code>ENC O[id] S[value]</code></pre>
<pre><code>ENC O[id] S[pwm value]</code></pre>
Id is generated on the setting plugin, value is the duty cycle from 0 to 100. Ex: sending ENC O5 S75 would turn set duty cycle of 75% on output 5.
Neopixel
@@ -181,8 +180,8 @@ Neopixel
Id is generated on the setting plugin, value should be between 0 to 255. R, G, and B are the colors for that value. Ex: sending ENC O1 R255 G0 B0 would set neopixel with id 1 color to full red.
Temperature / Humidity Control
<pre><code>ENC O[id] W[wait or not] S[set value]</code></pre>
Id is generated on the setting plugin, W specify if the plugin should wait or not for the enclosure to reach the temperature, S will set the set temperature. Ex: ENC O1 W1 S45 will set temperature control with id 1 to 45 and wait until the temperature is reached to continue printing.
<pre><code>ENC O[id] W[wait value] S[set value]</code></pre>
Id is generated on the setting plugin, W specify if the plugin should wait or not for the enclosure to reach the temperature (1 is to wait), S will set the set temperature. Ex: ENC O1 W1 S45 will set temperature control with id 1 to 45 and wait until the temperature is reached to continue printing.
Let me know about improvements that you might think.