B4R Question Keypad Library

Discussion in 'B4R Questions' started by pokhraj_d, Aug 11, 2018.

Similar threads

B4R Library Keypad
B4R Tutorial Arduino + Raspberry Pi
B4R Tutorial Inline C / C++
B4R Tutorial [tool] External Serial Connector
B4R Tutorial HC 05 Classic Bluetooth
  1. pokhraj_d

    pokhraj_d Member

    Hello All,

    I am a newbie at this form. Just started to use B4R.
    Wanted to know few details:
    1. For keypad sketch Do I need to include keypad library like arduino? If yes, how to perform and include the library.

    2. In Arduino there is void loop() which runs continually. Here I found AppStart. Is this is same as void loop()?

    3. To include any GPS library how to add with b4r? Is there is compatible library in place? If yes , please share the same.

  2. Erel

    Erel Administrator Staff Member Licensed User

    Moved to the questions forum.

    I recommend you to start with the programming guide: https://www.b4x.com/b4r/documentation.html

    1. Keypad library is available here: https://www.b4x.com/android/forum/threads/keypad.72494/#content
    You need to download it and copy it to the additional libraries folder.

    2. See the first search result: https://www.b4x.com/android/forum/pages/results/?query=b4r+loop

    3. There is no GPS library currently available for B4R. If you are receiving NMEA strings then it shouldn't be too difficult to parse them yourself.
    tigrot and Johan Hormaza like this.
  3. pokhraj_d

    pokhraj_d Member

    Hello Erel,
    I have one confusion. As I have already post that I am new in B4R.
    Your post at "Timers, Loopers and CallSubPlus" I found the below details:

    Private Sub Timer1_Tick
    End Sub
    Could you please have some time to advice the logic "(Not(pin13.DigitalRead))" in the sketch

  4. Erel

    Erel Administrator Staff Member Licensed User

    You should have started a new thread for this question.
    Anyway, Pin.DigitalRead returns True or False based on the pin state.

    Not converts True to False and False to True.
    So writing Not(pin13.DigitalRead) causes the led to blink. If it was on then it will be off and vice versa.
  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