H Nigel, Thank you for the kind words! Very much appreciated. Cheers Chris
@SteveWoodgate Жыл бұрын
Would it be possible to show this circuit again but modified to use a 3 to 8 line decoder to reduce the number of GPIO's needed.
@MakingStuffwithChrisDeHut Жыл бұрын
Hi Steve, Unfortunately I don't have much time to do customs like that. Perhaps in the future I will have time. Sorry, Chris
@SteveWoodgate Жыл бұрын
@@MakingStuffwithChrisDeHut No worries, I just thought it might be an interesting extension to driving multiple relays sometime in the future. Thanks for all the great content!
@jyvben1520 Жыл бұрын
range(1,7) means 1 to 6, as there were only 6 pins/lines/relays/leds, could have started with empty list e.g. mylist = [] or mylist = list() and then appended ..., then the range would be (0,6), but both work so personal choice. another way would be mylist = [ machine.Pin(13, machine.Pin.OUT), # 0 machine.Pin(14, machine.Pin.OUT), # 1 machine.Pin(15, machine.Pin.OUT), # 2 ] is allowed over many lines, would not need append. (and python allows comma on last line) and comment(s) is/are allowed.
@MakingStuffwithChrisDeHut Жыл бұрын
Hi Ben, Thank you very much for adding clarity to that. Much appreciated. Cheers! Chris