File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 5656
5757class AVRprog :
5858 """
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
59+ Helper class used to program AVR chips from CircuitPython.
6260 """
6361 _spi = None
6462 _rst = None
6563
6664 def init (self , spi_bus , rst_pin ):
65+ """
66+ Initialize the programmer with an SPI port that will be used to
67+ communicate with the chip. Make sure your SPI supports 'write_readinto'
68+ Also pass in a reset pin that will be used to get into programming mode
69+ """
6770 self ._spi = spi_bus
6871 self ._rst = DigitalInOut (rst_pin )
6972 self ._rst .direction = Direction .OUTPUT
You can’t perform that action at this time.
0 commit comments