We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9c309 commit c6093a5Copy full SHA for c6093a5
ports/mimxrt10xx/apps/factory_test/main.c
@@ -137,12 +137,14 @@ void loop(void) {
137
Serial_printf("5V out = %d\n\r", (int)five_mV);
138
if (abs(five_mV - 5000) > 500) {
139
Serial_printf("5V power supply reading wrong?");
140
+ return;
141
}
142
// Test 5V
143
int nine_mV = (float)analogRead(AD0) * 11.0 * 3.3 * 1000 / 4095.0;
144
Serial_printf("9V out = %d\n\r", (int)nine_mV);
145
if (abs(nine_mV - 9000) > 1000) {
146
Serial_printf("9V power supply reading wrong?");
147
148
149
Serial_printf("*** TEST OK! ***\n\r");
150
0 commit comments