added PROMPT_CAMERA to debug camera right away

pico-mitt
alanbjohnston 3 years ago committed by GitHub
parent 29e50e2057
commit cfb66aec8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4302,6 +4302,7 @@ void serial_input() {
case 'C': case 'C':
Serial.println("Debug camera"); Serial.println("Debug camera");
debug_camera = true; debug_camera = true;
prompt = PROMPT_CAMERA;
break; break;
case 't': case 't':
@ -4491,6 +4492,10 @@ void prompt_for_input() {
payload_command = PAYLOAD_QUERY; payload_command = PAYLOAD_QUERY;
break; break;
case PROMPT_CAMERA:
get_camera_image(debug_camera);
break;
case PROMPT_TEMP: case PROMPT_TEMP:
sensorValue = analogRead(TEMPERATURE_PIN); sensorValue = analogRead(TEMPERATURE_PIN);
Serial.print("Raw diode voltage: "); Serial.print("Raw diode voltage: ");

Loading…
Cancel
Save

Powered by TurnKey Linux.