Taiko R2
What's new in R2
Migration From Version 1
Overview
Our Language Philosophy
System Components
Objects
Events
Getting Started
Preparing Your Hardware
Starting a New Project
Writing Code
Building, Uploading and Running
Compiling a Final Binary
Programming with TIDE
Managing Projects
The Structure of a Project
Creating, Opening and Saving Projects
Templates
Adding, Removing and Saving Files
Resource Files
Built-in Image Editor
Coding Your Project
Project Browser
Code Auto-completion
Code Hinting
Tooltips
Supported HTML Tags
Making, Uploading and Running an Executable Binary
Two Modes of Target Execution
Debugging Your Project
Target States
Exceptions
Program Pointer
Breakpoints
The Call Stack and Stack Pointer
Stepping
The Watch
Scopes in Watch
Code Profiling
Project Settings
Programming Fundamentals
Program Structure
Code Basics
Naming Conventions
Introduction to Variables, Constants and Scopes
Variables And Their Types
Type Conversion
Type conversion in expressions
Compile-time Calculations
Arrays
Structures
Enumeration Types
Understanding the Scope of Variables
Declaring Variables
Constants
Introduction to Procedures
Passing Arguments to Procedures
Memory Allocation for Procedures
Introduction to Control Structures
Decision Structures
Loop Structures
Doevents
Working with HTML
Embedding Code Within an HTML File
Understanding Platforms
Objects, Events and Platform Functions
Language Reference
Statements
Const Statement
Declare Statement
Dim Statement
Doevents Statement
Do... Loop Statement
Enum Statement
Exit Statement
For... Next Statement
Function Statement
Goto Statement
If.... Then... Else Statement
Include Statement
Select-Case Statement
Sub Statement
Type Statement
While-Wend Statement
Keywords
As
Boolean
ByRef
Byte
ByVal
Char
Else
End
False
For
Integer
Next
Public
Short
Step
String
Then
Type
To
True
Word
Operators
Error Messages
C1001
C1002
C1003
C1004
C1005
C1006
C1007
C1008
C1009
C1010
C1011
C1012
C1013
C1014
C1015
C1016
C1017
C1018
C1019
C1020
C1021
C1022
C1023
C1024
L1001
L1002
L1003
L1004
L1005
L1006
L1007
L1008
L1009
Objects, Properties, Methods, Events
Development Environment
Installation Requirements
User Interface
Main Window
Operation Modes
Menu Bar
File Menu
Edit Menu
View Menu
Project Menu
Debug Menu
Image Menu
Window Menu
Help Menu
Toolbars
Project Toolbar
Debug Toolbar
Image Editor Toolbar
Tool Properties Toolbar
Selection Tool Properties
Paint Tool Properties
Eraser Tool Properties
Text Tool Properties
Line Tool Properties
Rectangle Tool Properties
Ellipse Tool Properties
Zoom Tool Properties
Status Bar
Dialogs
Project Settings
New Project
Add File to Project
Graphic File Properties Dialog
Panes
Call Stack
Output
Project
Browser
Files
Watch
Colors
Language Element Icons
Glossary of Terms
Compilation Unit
Compiler
Construct
Cross-Debugging
Identifier
Keyword
Label
Linker
P-Code
Syscall
Target
Virtual Machine
Platforms
Platform Specifications
EM202/200 (-EV), DS202
Memory Space
Supported Variabled Types
LED Signals
Debug Communications
Project Settings Dialog
Device Explorer
Supported Functions (Syscalls)
Supported Objects
Platform-dependent Constants
Enum pl_redir
Enum pl_io_num
Platform-dependent Programming Information
EM1000 (-EV)
Memory Space
Supported Variabled Types
LED Signals
Debug Communications
Project Settings Dialog
Device Explorer
Supported Functions
Supported Objects
Platform-dependent Constants
Enum pl_redir
Enum pl_io_num
Enum pl_int_num
Enum pl_sock_interfaces
Platform-dependent Programming Information
EM1000W
Memory Space
Supported Variabled Types
LED Signals
Debug Communications
Project Settings Dialog
Device Explorer
Supported Functions
Supported Objects
Platform-dependent Constants
Enum pl_redir
Enum pl_io_num
Enum pl_int_num
Enum pl_sock_interfaces
Platform-dependent Programming Information
EM1202 (-EV)
Memory Space
Supported Variabled Types
LED Signals
Debug Communications
Project Settings Dialog
Device Explorer
Supported Functions
Supported Objects
Platform-dependent Constants
Enum pl_redir
Enum pl_io_num
Enum pl_int_num
Enum pl_sock_interfaces
Platform-dependent Programming Information
Function Reference
Asc Function
Bin Function
Cfloat Function
Chr Function
Date Function
Daycount Function
Ftostr Function
Hex Function
Hours Function
Instr Function
Lbin Function
Left Function
Len Function
Lhex Function
Lstr Function
Lstri Function
Lval Function
Md5 Function
Mid Function
Mincount Function
Minutes Function
Month Function
Random Function
Right Function
Sha1 Function
Str Function
Strgen Function
Stri Function
Strsum Function
Strtof Function
Val Function
Vali Function
Weekday Function
Year Function
Object Reference
Sys Object (V1.2)
Overview
On_sys_init Event
Buffer Management
System Timer
PLL Management
Miscellaneous
Properties, Methods, Events
.Buffalloc Method
.Currentpll R/O Property (Selected Platforms Only)
.Freebuffpages R/O Property
.Halt Method
.Newpll Method (Selected Platforms Only)
On_sys_init Event
On_sys_timer Event
.Onsystimerperiod Property (Selected Platforms Only)
.Reboot Method
.Runmode R/O Property
Serialnum R/O Property
Setserialnum Method
.Resettype R/O Property
.Timercount R/O Property
.Totalbuffpages R/O Property
.Version R/O Property
Ser Object (V1.1)
What's new in V1.1
Overview
Anatomy of a Serial Port
Three Modes of the Serial Port
UART Mode
Wiegand Mode
Clock/Data Mode
Port Selection
Serial Settings
Sending and Receiving Data (TX and RX buffers)
Allocating Memory for Buffers
Using Buffers
Buffer Memory Status
Receiving Data
Sending Data
Handling Buffer Overruns
Redirecting Buffers (Shorting)
Properties, Methods, Events
.Autoclose Property
.Baudrate Property
.Bits Property
.Ctsmap property (Selected Platforms Only)
.Dircontrol Property
.Div9600 R/O Property
.Enabled Property
.Escchar Property
.Esctype Property
.Flowcontrol Property