Beschreibung
This commit is contained in:
		
							
								
								
									
										10
									
								
								src/main.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/main.cpp
									
									
									
									
									
								
							| @ -1,3 +1,9 @@ | ||||
| /* | ||||
|  | ||||
| Strom Spannung Messen und Serial Ausgeben | ||||
|  | ||||
| */ | ||||
|  | ||||
| #include <Arduino.h> | ||||
| #include <Wire.h> | ||||
| #include <Adafruit_INA219.h> | ||||
| @ -48,8 +54,8 @@ void loop(void) | ||||
|    | ||||
| //  Serial.print("Bus Voltage (V):   "); Serial.print(busvoltage); Serial.println(" V"); | ||||
| //  Serial.print("Shunt Voltage (mV): "); Serial.print(shuntvoltage); Serial.println(" mV"); | ||||
|   Serial.println("  Load Voltage_V:  "); Serial.print(loadvoltage);  | ||||
|   Serial.println("  Current_mA:      "); Serial.print(current_mA);  | ||||
|   Serial.print("  Load Voltage_V:  "); Serial.println(loadvoltage);  | ||||
|   Serial.print("  Current_mA:      "); Serial.println(current_mA);  | ||||
| //  Serial.print("Power mW:         "); Serial.print(power_mW); Serial.println(" mW"); | ||||
| //  Serial.println(""); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user