• Hey I'm a beginner in JavaScript and in Bangle.js and I see a lot of commands but I don't know where to find them. Can you help me?
    Thanks

  • Sat 2021.01.02

    Hello @Guillaume_G and Happy New Year!

    There are several links to the references outlined in:

    http://forum.espruino.com/conversations/­335009/

    beneath heading: Bangle specific in post #1

  • More specifically, you probably want this

  • More specifically the subset:    https://banglejs.com/reference

    @Sebastian, the thread title clearly states 'Bangle.js' and Guillaume_G clarified new to Javascript. The link here #4 is the subset specific to Bangle.js while the link in your post #3 is the entire reference for all Espruino devices. No sense making more overwhelming than necessary.

    Over the past four years, the same questions are asked by those new to Javascript, and the reason that summary page was created and has been referenced over a thousand times. Rather than re-post those links here, it made sense to provide that post for perusal as a learning step and starting point for exploration.

    Which leads us to our forum New Year's resolution:

    Teach how to fish and not just provide the fish



    @Guillaume_G if these haven't been discovered yet, here are two excellent reference sites I still use to this day. The Mozilla Developer Network 'MDN' reference along with w3c.org standards are the places to go to understand the language specifics, while W3Schools has a nice interactive try before coding editor-viewer.

    https://www.w3schools.com/js/default.asp­
    https://developer.mozilla.org/en-US/docs­/Web/JavaScript/Reference

  • Hey, Robin thanks for your very useful link because yes there are many tutorials but they did not explain all the language and how to code your own program alone (from or come all these commands).
    Sorry if my question has already been asked.
    A good year 2021!

  • Bangle is programmed in Javascript which is now a well established mainstream programming language. There are 100s of tutorials across the web. Google 'how to define a list in javascript' and a stackoverflow article will be in the results.

    https://stackoverflow.com/questions/5868­850/creating-list-of-objects-in-javascri­pt.

    I can only do basic javascript but have lots of programming experience in other languages. If this is your first exposure to programming then I would suggest writing some simple loops and drawing things on the screen. This will give you instant feedback. One of my reasons for getting a Bangle Js is because it will force me to learn and write in Javascript.

    I think the github code could be a bit more commented to make it easier to follow for new people. There seem to be a pretty helpful bunch of people on this forum so just ask away.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Where find all of the command (code) to use with Bangle.js

Posted by Avatar for Guillaume_G @Guillaume_G

Actions