This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:make_treat_dispenser [2020/09/28 16:50] vizycam |
wiki:make_treat_dispenser [2020/09/28 16:51] vizycam |
||
---|---|---|---|
Line 195: | Line 195: | ||
</Code> | </Code> | ||
- | You can then trigger the solenoid with: | + | You can then trigger the solenoid (open shutter) with: |
<Code:python> | <Code:python> | ||
power.io_write_bits(1) | power.io_write_bits(1) | ||
</Code> | </Code> | ||
- | and turn off with: | + | and turn off (close shutter) with: |
<Code:python> | <Code:python> |