B4A Class [B4X] CallSubPlus - CallSub with explicit delay - Erel    Nov 30, 2015   (26 reactions) Notes
- Make sure to include an underscore in the target subs names if you intend to compile with obfuscation.
- CallSubDelayed will start the target service or activity if needed (see this tutorial for more information: https://www.b4x.-callsubdelayed-to-interact-between-activities-and-services.18 B4A Tutorial [B4X] Features that Erel recommends to avoid - Erel    Dec 06, 2023   (89 reactions) Platform specific API -> Cross platform API: This is of course relevant when there is a cross platform API. Some developers have a misconception that the cross platform features have drawbacks compared to the platform specific API. Node / Pane / Button / ... -> B4XView Canvas -> B4XCanvas All kinds B4R Tutorial Timers, Loopers and CallSubPlus - Erel    Jan 08, 2017   (19 reactions) CallSubPlus is similar to a timer that fires once. CallSubPlus allows you to run a sub after a specified duration. Like a timer it doesn't block the thread.
Blink example based on CallSubPlus:
Sub Process_Globals
Public Serial1 As Serial
Private pin13 As Pin
End Sub
Private Sub AppStart
Se B4A Question AsyncStreams: is there a event when writing is completed? - Erel (first post)    Jan 26, 2016   (2 reactions) CallSubPlus makes it a bit simpler.
CallSubPlus - CallSub with explicit delay B4A Question Using a 4-line, 20-character LCD screen with an ARDUINO UNO board - Marc DANIEL    Dec 01, 2023   (4 reactions) DigitalWrite(True) 'lights up the green LEDs (there are places left) ' NB: The green LEDs will be lit by default at the start because there are 3 free places pinRedLED.DigitalWrite(False) 'turns off the Red LEDs (The parking lot is no longer full) Loc B4R Question Time difference with CalSubPlus instruction - Erel (first post)    May 07, 2023 B4R maintains a queue of tasks. CallSubPlus adds a scheduled task to the queue. The queue is processed whenever the single thread is free to process the queue. This means that you should expect some inaccuracies and changing the time unit will not really matter.
Combining CallSubPlus with DelayMicro B4R Question Step Motor with A4988 - Tayfur (first post)    Feb 22, 2021   (1 reaction) Dear @Erel ;
thanks for info.
This function is very practical but not enough for fast drive.
I listed underbelow.
CallSubPlus("x",1,1) >> 150RPM
CallSubPlus("x",2,1) >> 75RPM
CallSubPlus("x",3,1) >> 50RPM
CallSubPlus("x",4,1) >> 37RPM
CallSubPlus("x",5,1) >> 30RPM
CallSubPlus("x",6,1) >> 25RPM
Th B4J Question CallSubPlus: OutOfMemoryError - HARRY    Dec 31, 2018 callsubutils._plusimpl(callsubutils.java:153)
at b4j.example.callsubutils._callsubplus2(callsubutils.java:167)
at b4j.example.callsubutils._callsubplus(callsubutils.jav
a:81)
at b4j.example.main._dostep(main.java:124)
at b4j.example.main._scan(main.java:290)
at b4j.example.main._ B4R Question Doubt with CallsubPlus - Gerardo Tenreiro (first post)    May 04, 2023 Solucionado, el error es que CallSubPlus pasa un parámetro y en la rutina es necesario recolectar dicho parámetro.
CallSubPlay("Rutina_Nombre",ms,etiqueta)
....
Private Sub Routine_Name (Etiqueta como byte)
Muchas gracias Spanish Problema con CallSubPlus y lectura del AD - jwgf (first post)    Sep 15, 2020   (1 reaction) Solucionado, mal uso de CallSubPlus, lo usaba como si fuera un Call Sub normal y no advertía que seguía corriendo el programa, en realidad yo quería llamar a una subrrutina y eventualmente dentro de esta a otra, por lo que el uso de CallSubPlus esta mal. Gracias, José, Saludos Page: 1   2   3   4   5   6   7   Powered by ColBERT |