M Mostez Well-Known Member Licensed User Longtime User Jul 20, 2022 #1 I have an ESP32 board and I want to log some results from inline C code to B4R IDE, something like B4X: # if c int a = 40; int b = 50; serial.print ("value of a =" + a + "value of b =" & b) # end if TIA
I have an ESP32 board and I want to log some results from inline C code to B4R IDE, something like B4X: # if c int a = 40; int b = 50; serial.print ("value of a =" + a + "value of b =" & b) # end if TIA
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2022 #2 B4X: ::Serial.print("value of a = "); ::Serial.print(a); ::Serial.print(" value of b ="); ::Serial.println(b); //last one is println Upvote 0
B4X: ::Serial.print("value of a = "); ::Serial.print(a); ::Serial.print(" value of b ="); ::Serial.println(b); //last one is println