We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cdee4a commit 598f180Copy full SHA for 598f180
adafruit_avrprog.py
@@ -55,15 +55,15 @@
55
_FAST_CLOCK = 1000000
56
57
class AVRprog:
58
+ """
59
+ Initialize the programmer with an SPI port that will be used to
60
+ communicate with the chip. Make sure your SPI supports 'write_readinto'
61
+ Also pass in a reset pin that will be used to get into programming mode
62
63
_spi = None
64
_rst = None
65
66
def init(self, spi_bus, rst_pin):
- """
- Initialize the programmer with an SPI port that will be used to
- communicate with the chip. Make sure your SPI supports 'write_readinto'
- Also pass in a reset pin that will be used to get into programming mode
67
self._spi = spi_bus
68
self._rst = DigitalInOut(rst_pin)
69
self._rst.direction = Direction.OUTPUT
0 commit comments