In particular i want to have a function that takes a pin and a bytearray as parameters.
in a while loop until a terminal condition is met the code is
Code: Select all
index=0
while not Terminal_Condition:
x=pinX.read_digital()
storage[index]=x
index+=1
I thought writing a bit bang function in assembler may be the answer it's just there's a lack of examples out there.
thanks