用户工具

站点工具


en:reference:language:main

Language Reference

Ocrobot programs can be divided in three main parts: structure, values (variables and constants), and functions.

Structure

Control Structures

Further Syntax

Arithmetic Operators

Comparison Operators

Boolean Operators

Pointer Access Operators

Bitwise Operators

Compound Operators

Variables

Constants

Data Types

Conversion

Variable Scope & Qualifiers

Utilities

Functions

Digital I/O

Analog I/O

Advanced I/O

Time

Math

  • ceil()–
  • exp()–
  • fabs()–
  • floor()–
  • fma()–
  • fmax()–
  • fmin()–
  • fmod()–
  • ldexp()–
  • log()–
  • log10()–
  • round()–
  • signbit()–
  • sq()–
  • square()–
  • trunc()–

Trigonometry

  • acos()–
  • asin()–
  • atan()–
  • atan2()–
  • cosh()–
  • degrees()–
  • hypot()–
  • radians()–
  • sinh()–
  • tanh()–

Random Numbers

Bits and Bytes

External Interrupts

Interrupts

Communication

en/reference/language/main.txt · 最后更改: 2023/06/07 04:23 由 127.0.0.1