This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
projects:farmrobot:realcode_g-code [2021/03/11 21:19] roman-heinrich [Pumpe] |
projects:farmrobot:realcode_g-code [2021/03/11 21:20] (current) roman-heinrich [Pumpe] |
||
|---|---|---|---|
| Line 41: | Line 41: | ||
| <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' | ||