Hypnos Active Member Licensed User Longtime User Apr 26, 2018 #1 Can anyone teach me how to pass a parameter (text) from B4R to inline C code? The following code can work but I want to change the println text ("Hello") by B4R Thanks! B4X: RunNative("Print1", Null) void Print1(B4R::Object* o) { M5.Lcd.println("Hello"); }
Can anyone teach me how to pass a parameter (text) from B4R to inline C code? The following code can work but I want to change the println text ("Hello") by B4R Thanks! B4X: RunNative("Print1", Null) void Print1(B4R::Object* o) { M5.Lcd.println("Hello"); }
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2018 #2 See this post: https://www.b4x.com/android/forum/threads/passing-a-char-array-to-a-inline-c-code.88632/#post-560801 Upvote 0
See this post: https://www.b4x.com/android/forum/threads/passing-a-char-array-to-a-inline-c-code.88632/#post-560801