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 56
56
57
57
class AVRprog :
58
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
59
+ Helper class used to program AVR chips from CircuitPython.
62
60
"""
63
61
_spi = None
64
62
_rst = None
65
63
66
64
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
+ """
67
70
self ._spi = spi_bus
68
71
self ._rst = DigitalInOut (rst_pin )
69
72
self ._rst .direction = Direction .OUTPUT
You can’t perform that action at this time.
0 commit comments