Code Monkey home page Code Monkey logo

rm1xx-applications's Introduction

RM1xx-Applications

This repository contains example smartBASIC applications for the RM186 and RM191 devices.

Some of these applications require the RM1xx-defs.h file located in the firmware release package. Please be sure to use the RM1xx.h file associated with the firmware loaded on the module. The firmware version can be checked at the smartBASIC command prompt with the "ATI 3" command.

Please Note:

For simplicity reasons, some sample apps have been written without important features such as error handling or result code checking. However, when writing your applications, please ensure that result codes returned from the API functions are always checked to ensure that your applications are robust and error-free.

Older firmwares

The files in this repository are designed for use with the latest RM1xx firmware which at the time of writing is:

  • 100.6.1.0 (RM186 Central EU)
  • 101.6.1.0 (RM191 Central US)
  • 102.6.1.0 (RM191 Central AU)
  • 103.6.1.0 (RM191 Central AS)
  • 110.6.1.0 (RM186 Peripheral EU)
  • 111.6.1.0 (RM191 Peripheral US)
  • 112.6.1.0 (RM191 Peripheral AU)
  • 113.6.1.0 (RM191 Peripheral AS)

For applications targetting older firmwares, please check the Releases tab

rm1xx-applications's People

Contributors

coljander avatar thedjnk avatar timothyjohncarney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rm1xx-applications's Issues

1537 error due to off by one array size

This line:

dim PrevAds$[6] //Previous adverts (size of 6 adverts)

eventually results in error 1537: RUN_INDEX_TOO_LARGE

One quick fix, is to bump this up to 7.
dim PrevAds$[7] //Previous adverts (size of 6 adverts)

Or you could modify the advert handler to not exceed index 5 - but I prefer this solution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.