Other B4R v2.50 BETA has been released

Discussion in 'B4R Questions' started by Erel, May 21, 2018.

Thread Status:
Not open for further replies.
  1. Erel

    Erel Administrator Staff Member Licensed User

    B4R v2.50 BETA is available for download: www.b4x.com/b4r/files/beta.exe

    This update includes all the IDE improvements that were added to the other B4X products including the ability to easily share modules between projects.

    • IDE improvements.
    • ByteConverter.ObjectSet - Allows setting a global object. Especially useful with arrays of objects.
    • Bug fixes.
     
  2. Cableguy

    Cableguy Expert Licensed User

    How do you do it?
    Simply amazing!
     
  3. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    Good job EREL, for a moment I thought you forgot about B4R
     
  4. Mostez

    Mostez Active Member

    I tried it but after uploading code it caused MEGA to reset and start over! I downgraded again to V2.2 and it worked OK!
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Does it happen with all your projects? Need more information...
     
  6. Mostez

    Mostez Active Member

    I tried V2.5 again with UNO and the program did not start. it worked OK with V2.2. I've Arduino IDE V1.8.1 installed.
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    What do you see in the logs? Does it happen with any program you try?
     
  8. Mostez

    Mostez Active Member

    compilation logs attached for same UNO projects.
     

    Attached Files:

  9. Erel

    Erel Administrator Staff Member Licensed User

    The logs look fine. Are you able to run a simple program with v2.5?
     
  10. Mostez

    Mostez Active Member

    I uninstalled everything and reinstalled V2.5 it again, I ran simple counting program OK on UNO, but failed to run bigger programs on both UNO and MEGA

    Code:
    Sub Process_Globals
        
    'These global variables will be declared once when the application starts.
        'Public variables can be accessed from all modules.
        Public Serial1 As Serial
        
    Private Counter As Int
        
    Private timer As Timer
        
    End Sub

    Private Sub AppStart
        Serial1.Initialize(
    115200)
        
    timer.Initialize("timer_Tick",1000)
        
    timer.Enabled =True
        
    Log("AppStart")
    End Sub

    private Sub timer_Tick()
        Counter = Counter + 
    1
        
    Log ("Counter now is: ",Counter)
        
    End Sub
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    If you can please send me a program that fails to run and I'll check it. B4R v2.50 will soon be released...
     
  12. Mostez

    Mostez Active Member

    OK, will send it tomorrow morning.
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    I'm missing: #include <HX711.h>

    However I see that you set the baud rate to 9600. Have you also set it in the IDE? The default value in the IDE is 115200.
     
  14. Peter Simpson

    Peter Simpson Expert Licensed User

    Thank you @Erel, great stuff as usual.
    Sadly no OTA option, BUUUUUUUUUUUUUUUUUUUUUUUUUUUUUT as usual your efforts on this free for all development tool is greatly appreciated by myself and everybody that uses it.

    My C/C++ has improved vastly over the past 12 months, but I still prefer using the B4X suite of tools ;)

    Thank you...
     
    Johan Hormaza likes this.
  15. JanG

    JanG Member Licensed User

    No problems here with ESP8266. With bigger programs, too. But what means "bigger"?:)
     
    Erel likes this.
  16. tigrot

    tigrot Well-Known Member Licensed User

    Bigger than shorter, of course:)
     
  17. Mostez

    Mostez Active Member

    Yes Erel, I set both to 9600, 9600 is a default value, user may change baud rate by sending BAUD.SET command. however the program runs and display the welcome message, but at final step it fails to run the 'looper' after line 119 nothing displayed on LCD and no response to pin change events.
    Code:
    InitializeScale
    ...
    ....
    AddLooper(
    "ScaleTimer_Ticks")
    The same thing also with MEGA with another much complicated code, every thing goes fine with displaying welcome message and loading settings from EEPROM, but it fails to run the timer that updates everything on LCD.
     
  18. Erel

    Erel Administrator Staff Member Licensed User

    Please send me an email with the project and the HX711 library.
     
  19. Mostez

    Mostez Active Member

    I sent it.
     
  20. Erel

    Erel Administrator Staff Member Licensed User

    No need. I've just uploaded v2.51. It will probably fix it.
     
    Johan Hormaza likes this.
Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice