Open shenlijun opened 3 years ago
This was part of the original argon1.sh script.
But I'm not sure I get what you mean. Should the if
be extended with a new rev? like rev == 4
? I don't have access to a 4B so I cannot check myself. Would you mind clarifying a bit?
rev doesn't mean the raspberry pi revision but the gpio board layout revision. There is no change required for the raspberry pi 4B
somewhere like this need to be modified
if rev == 2 or rev == 3: bus = smbus.SMBus(1) else: bus = smbus.SMBus(0)