This commit is contained in:
tillraab 2019-09-11 15:22:56 +02:00
parent 1ce873b536
commit e7d7918675
2 changed files with 2 additions and 2 deletions

View File

@ -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__':

View File

@ -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,