โŒšSB Watch 2
๐Ÿšš Free fedex shipping from 97 $
๐ŸŒŽ WORLDWIDE SHIPPING for 25 $
Search
Close this search box.

Basics

Welcome

Congratulations on taking the first step to become a MagiScript programmer! MagiScript Editor is a platform where you can edit and upload your own mini-apps.

Please note that Atom can be connected to multiple devices simultaneously. While developing your mini-app, you can also keep it connected to an app on your phone.

Requirements:

  • A desktop or laptop machine running Chrome, Edge browser with Bluetooth connectivity. These days most laptops have built-in Bluetooth, while for a (Windows) desktop you might need to buy a Bluetooth dongle. Chrome on Android might work, but the editor screen is not optimized for mobile.

  • Atom, our intelligent remote that can run MagiScript.

How to Connect?

On the https://peeksmith.electricks.info/atom/ page click the “Connect Atom” button, and a window will pop up showing all available devices. Select the desired device and click the “Pair” button.

You might see a window prompting you to pair your device. If you want to use Atom as a keyboard with your computer, select “Connect.” If not, choose “Cancel.” We recommend selecting “Cancel” and testing or developing the Bluetooth keyboard mini-app using your phone instead.

The MagiScript Editor also allows you to install the latest Atom firmware. If a new firmware release is available, an update window will appear.

Layout

After connecting to your device, you will see the following sections:

Toolbar

  • App Store: load example mini-apps
  • New: start with an “empty” mini-app
  • Load: load a mini-app from a file
  • Save: save a mini-app to a file
  • Compile & Upload: upload the mini-app you are developing to Atom
  • Persist: save the mini-app to Atom’s storage, it becomes selectable in the launcher
  • List of Mini-Apps: manage the mini-apps available on your Atom device (built-ins and the mini-apps you persisted)
  • Settings: several settings of your device
 

Console Logs

System messages will appear here, and you can also send messages from the Magiscript application with the console.log command.

Atom Commands

You can enter special commands here, which will be sent to Atom as Bluetooth messages. In most cases, you won’t need to use this feature.

Footer

Here you can see the current app, a message, the devices connected and the battery level percentage of Atom.

General

๐Ÿ“ƒย First Steps

MagiScript Editor

๐Ÿ“ƒย Basics

๐Ÿ“ƒย Running Your First Program

๐Ÿ“ƒย App Store

๐Ÿ“ƒย Atom Settings (Editor)

๐Ÿ“ƒย Debugging Techniques

Examples

๐Ÿ“ƒย Atom Time

๐ŸŽž๏ธ Time Practice

๐Ÿ“ƒย Atom Pi (Pi Revelations)

๐Ÿ“ƒย Atom Drum

๐ŸŽž๏ธ Atom Stack

๐Ÿ“ƒย Atom Square

๐Ÿ“ƒย Atom Level

๐Ÿ“ƒย Atom THMPR

๐Ÿ“ƒย Poker Hands

๐Ÿ“ƒย Keyboard Numeric

๐Ÿ“ƒย Keyboard NOKIA

๐Ÿ“ƒย Keyboard Cursor

๐Ÿ“ƒย Keyboard Media

๐Ÿ“ƒย Keyboard Custom

Input/Output

๐Ÿ“ƒย Buttons

๐Ÿ“ƒย Vibration Motor

๐Ÿ“ƒย RGB LED

๐Ÿ“ƒย Devices

๐Ÿ“ƒย PeekSmith

๐Ÿ“ƒย SB Watch

๐Ÿ“ƒย Bluetooth Keyboard

๐Ÿ“ƒย Bluetooth Mouse

๐Ÿ“ƒย Timers

๐Ÿ“ƒย Database

๐Ÿ“ƒย Events

๐Ÿ“ƒย System (exit, sleep, rand)

๐Ÿ“ƒย Objects (card, time)

Language

๐Ÿ“ƒย Summary

๐Ÿ“ƒย Comments

๐Ÿ“ƒย Variable Declarations

๐Ÿ“ƒย Operators

๐Ÿ“ƒย Control Flow

๐Ÿ“ƒย Functions

๐Ÿ“ƒย Numbers

๐Ÿ“ƒย Strings

๐Ÿ“ƒย Arrays

๐Ÿ“ƒย Objects

๐Ÿ“ƒย Uint8Array