mmrafiei Member May 3, 2022 #1 hi, how can i make a delay loop for b4a. b4a not b4r for example in arduino we can use this code for make an delay time. arduino code: void loop{ digitalWrite(LedPin, High); Delay(1000); digitalWrite(LedPin, LOW); Delay(1000); } this code make a delay time for ever
hi, how can i make a delay loop for b4a. b4a not b4r for example in arduino we can use this code for make an delay time. arduino code: void loop{ digitalWrite(LedPin, High); Delay(1000); digitalWrite(LedPin, LOW); Delay(1000); } this code make a delay time for ever
Erel B4X founder Staff member Licensed User Longtime User May 4, 2022 #2 The code you posted is mostly incorrect in all platforms including Arudino. You should use Sleep(1000) in B4X. Upvote 0
The code you posted is mostly incorrect in all platforms including Arudino. You should use Sleep(1000) in B4X.
Cableguy Expert Licensed User Longtime User May 4, 2022 #3 Erel said: The code you posted is mostly incorrect in all platforms including Arudino. You should use Sleep(1000) in B4X. Click to expand... Hmmmm ... so is your spelling... It's Arduino... but I think the message went through... Upvote 0
Erel said: The code you posted is mostly incorrect in all platforms including Arudino. You should use Sleep(1000) in B4X. Click to expand... Hmmmm ... so is your spelling... It's Arduino... but I think the message went through...