This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:farmrobot:realcode_g-code [2021/03/11 21:16] roman-heinrich [Pumpe] |
projects:farmrobot:realcode_g-code [2021/03/11 21:20] (current) roman-heinrich [Pumpe] |
||
---|---|---|---|
Line 37: | Line 37: | ||
Zum Sprühen des Herbizids wird eine Pumpe verwendet. | Zum Sprühen des Herbizids wird eine Pumpe verwendet. | ||
- | Das Kommando '' | + | Das Kommando '' |
<file python> | <file python> | ||
def enablePump(self): | def enablePump(self): | ||
- | # turn the pump on (D9 on Rambo PCB) | + | # turn the pump on (D9 on Ramps PCB) |
# set the pump to 100% power. 255 is full speed (12V) | # set the pump to 100% power. 255 is full speed (12V) | ||
self.ser.write(b' | self.ser.write(b' |