bf
This commit is contained in:
parent
1ce873b536
commit
e7d7918675
@ -40,7 +40,7 @@ def main():
|
|||||||
GPIO.output(LED2_pin, GPIO.LOW)
|
GPIO.output(LED2_pin, GPIO.LOW)
|
||||||
|
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
os.system('python3 /home/pi/code/rasp_grid.py')
|
os.system('python3 /home/pi/code/Rasp_grid/rasp_grid.py')
|
||||||
break
|
break
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -252,7 +252,7 @@ def main():
|
|||||||
|
|
||||||
# Allocate a buffer to receive the data.
|
# Allocate a buffer to receive the data.
|
||||||
data = create_float_buffer(channel_count, samples_per_channel)
|
data = create_float_buffer(channel_count, samples_per_channel)
|
||||||
system('clear')
|
# system('clear')
|
||||||
|
|
||||||
# Start the acquisition.
|
# Start the acquisition.
|
||||||
rate = ai_device.a_in_scan(low_channel, high_channel, input_mode, ranges[range_index], samples_per_channel,
|
rate = ai_device.a_in_scan(low_channel, high_channel, input_mode, ranges[range_index], samples_per_channel,
|
||||||
|
Loading…
Reference in New Issue
Block a user