setting on led to one key
This commit is contained in:
@@ -8,28 +8,16 @@ import board, neopixel
|
||||
|
||||
pixels = neopixel.NeoPixel(board.D18, 20, brightness=0.01)
|
||||
|
||||
notePixels = { 'si': [0, 1],
|
||||
'la#': [2, 3],
|
||||
'la': [4, 5],
|
||||
'sol#':[6],
|
||||
'sol':[7, 8, 9],
|
||||
'fa#':[10],
|
||||
'fa':[11, 12, 13],
|
||||
'mi':[14, 15, 16],
|
||||
're#':[17],
|
||||
're':[18, 19],
|
||||
'do#':[],
|
||||
'do':[]}
|
||||
notePixels = { 'si': [19],
|
||||
'la#': [18],
|
||||
'la': [15, 16, 17],
|
||||
'sol#':[14],
|
||||
'sol':[11, 12, 13],
|
||||
'la': [17],
|
||||
'sol#':[15],
|
||||
'sol':[13],
|
||||
'fa#':[10],
|
||||
'fa':[8, 9],
|
||||
'mi':[6, 7],
|
||||
're#':[4, 5],
|
||||
're':[2, 3],
|
||||
'fa':[8],
|
||||
'mi':[7],
|
||||
're#':[5],
|
||||
're':[3],
|
||||
'do#':[1],
|
||||
'do':[0]}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user