B4R Question Where's the "given key" in Arduino?

Beja

Expert
Licensed User
Longtime User
Hi,
I edited the old question about Arduilo CLI because it was solved, and I wanted to save space and bandwidth and post another question in the same space.
what is the meaning of this message?
1722354574574.png
 

Attachments

  • 1722352338252.png
    1722352338252.png
    15.4 KB · Views: 58
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Hi,
I edited the old question about Arduilo CLI because it was solved, and I wanted to save space and bandwidth and post another question in the same space.
what is the meaning of this message?
View attachment 155754
usually it means that you are using an outdated lib with code that calls for newer functions/methods... been a while so I may be wrong
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
usually it means that you are using an outdated lib with code that calls for newer functions/methods... been a while so I may be wrong

Thanks Cableguy,
I am sorry but I haven't use B4R for a very long time.. I have no idea about this key thing!! what key? I am not using a key or seeing one!
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
it's a "general" type of text, that just means that a keyword used is not present in a given library...
if you want I can check it for you, but I would start in the arduino IDE and update any libs that need doing so
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
I am trying to run this test code.. there's no erro in the logs, but at run time.

LED 13 blink Arduino:
' Initialize the pin and timing
Sub Process_Globals
    Private ledPin As Pin
    Private Timer1 As Timer
    Private ledState As Boolean = False ' Variable to keep track of LED state
End Sub

Sub AppStart
    ' Initialize the LED pin
    ledPin.Initialize(13, ledPin.MODE_OUTPUT)
    
    ' Initialize the Timer
    Timer1.Initialize("Timer1_Tick", 500) ' 500 milliseconds interval
    Timer1.Enabled = True
End Sub

Sub Timer1_Tick
    ' Toggle the LED state
    ledState = Not(ledState)
    If ledState Then
        ledPin.DigitalWrite(True) ' Set the pin to HIGH
    Else
        ledPin.DigitalWrite(False) ' Set the pin to LOW
    End If
End Sub
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
that tells me that is Arduino IDE related... fire it up and find the libs management... update as needed
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
It might also be this one. If you have your libs located under a path that has a part of it written in UTF8 then Arduino loses the ball. If this is the case you need to move the libs folder in a none UTF8 path and declare it in the conf file of Arduino CLI and also in the Arduino IDE. See the B4R tutorial in my contributions in the signature.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
that's B4r, I mean the arduino IDE...
B4r, when compiling, call the arduino IDE and it's dependencies to translate the code into Native code ... like a translator... so if you are using words that are not in the translator dictionary...
 
Upvote 1

Beja

Expert
Licensed User
Longtime User
that's B4r, I mean the arduino IDE...
B4r, when compiling, call the arduino IDE and it's dependencies to translate the code into Native code ... like a translator... so if you are using words that are not in the translator dictionary...

Yep!.. you the man!.. IDE updated and now working like a charm>> thantx a lot.
Now I go to work :)
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
would you please mark one of them as the solution, thanks
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Sorry dont get it! Them what? If I may ask.

@Cableguy is requesting you mark one of his posts as the Solution to your problem.

You should see an option to do so on each of his post.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Thanks CableGuy.. Working like a charm.. I followed your advice in #9
Now I must do some modification to the code to:
1. Use external clock
2. Remove the colon and increment the value by 1 until the clock stops or the value reaches 9999.
Plus other things.
Thanks to you.. Thanks to Erel before and after for making this possible
Best regards,

B4R_TM1637.jpg
 
Upvote 0
Top