D Danny Marom Member Licensed User Longtime User Nov 6, 2017 #1 Dear Erel I am, most probably doing something stupid as I an totally new to Basic. See attached project , It is based on the Arduino Bluetooth sample. Go to the last three functions in Main. VolageCal_FocusChanged and Transmit_Click work perfectly and the data reaches my HC06 based hardware. Trying the very same code from the MainTimer_Tick generates the error in the Jpg. Please advise Thanking you Attachments B4A.zip 76.6 KB · Views: 287 PoolTIME Error Mag.jpg 240.6 KB · Views: 394
Dear Erel I am, most probably doing something stupid as I an totally new to Basic. See attached project , It is based on the Arduino Bluetooth sample. Go to the last three functions in Main. VolageCal_FocusChanged and Transmit_Click work perfectly and the data reaches my HC06 based hardware. Trying the very same code from the MainTimer_Tick generates the error in the Jpg. Please advise Thanking you
Star-Dust Expert Licensed User Longtime User Nov 6, 2017 #2 Please do not direct your question ony to one, this is a forum and the question must be addressed to everyone. See guidelines: https://www.b4x.com/android/forum/threads/forum-guidelines.55632/ Thank's Last edited: Nov 6, 2017 Upvote 0
Please do not direct your question ony to one, this is a forum and the question must be addressed to everyone. See guidelines: https://www.b4x.com/android/forum/threads/forum-guidelines.55632/ Thank's
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2017 #3 Remove the ConnectedF variable. It doesn't store the correct state. Use Starter.connected instead to know whether there is a connection or not: B4X: If Starter.Connected = True Then 'Or If Starter.Connected Then Guides are available here: https://www.b4x.com/android/documentation.html Upvote 0
Remove the ConnectedF variable. It doesn't store the correct state. Use Starter.connected instead to know whether there is a connection or not: B4X: If Starter.Connected = True Then 'Or If Starter.Connected Then Guides are available here: https://www.b4x.com/android/documentation.html