stm32h7 udp server with adc

Dependencies:   ADE7912

Revision:
4:55a7bfd3a297
Parent:
3:5f002243ff14
Child:
5:0f04c6c72fc9
--- a/main.cpp	Tue Oct 27 13:24:43 2020 +0000
+++ b/main.cpp	Wed Oct 28 14:04:06 2020 +0000
@@ -88,6 +88,10 @@
         ADE7912_UpdateData(ade);
         out_buffer[0] = (int32_t)(ADE7912_GetCurrent(ade, PHASE_A) * 1000);
         out_buffer[1] = (ADE7912_GetVoltage(ade, PHASE_A) * 1000);
+        
+        printf("Update ");
+        printf("%d, ",out_buffer[0]);
+        printf("%d\n",out_buffer[1]);
 
         ThisThread::sleep_for(1000);
     }