Cubelets API Documentation 2.0
C API
Loading...
Searching...
No Matches
block_types.h File Reference

Definitions for all possible block types.

Go to the source code of this file.

Macros

#define BLOCKER_BLOCK   01
 
#define BATTERY_BLOCK   02
 
#define BLUETOOTH_BLOCK   04
 
#define PASSIVE_BLOCK   06
 
#define BRIGHTNESS_BLOCK   21
 
#define KNOB_BLOCK   22
 
#define DISTANCE_BLOCK   24
 
#define DISTANCE_HAT   29
 
#define TEMPERATURE_BLOCK   25
 
#define IMU_HAT   26
 
#define BUTTON_HAT   27
 
#define WAVE_HAT_BLOCK   30
 
#define MICROPHONE_HAT_BLOCK   31
 
#define BAR_GRAPH_BLOCK   43
 
#define DRIVE_BLOCK   45
 
#define ROTATE_BLOCK   46
 
#define SPEAKER_BLOCK   47
 
#define FLASHLIGHT_BLOCK   48
 
#define MOOD_RING_BLOCK   41
 
#define FLASHLIGHT_HAT   58
 
#define INVERSE_BLOCK   61
 
#define MAX_BLOCK   62
 
#define MIN_BLOCK   63
 
#define THRESHOLD_BLOCK   64
 
#define WIRELESS_HAT   75
 

Macro Definition Documentation

◆ BLOCKER_BLOCK

#define BLOCKER_BLOCK   01

BLOCK_BLOCK

◆ BATTERY_BLOCK

#define BATTERY_BLOCK   02

BATTERY_BLOCK

◆ BLUETOOTH_BLOCK

#define BLUETOOTH_BLOCK   04

BLUETOOTH_BLOCK

◆ PASSIVE_BLOCK

#define PASSIVE_BLOCK   06

PASSIVE_BLOCK

◆ BRIGHTNESS_BLOCK

#define BRIGHTNESS_BLOCK   21

BRIGHTNESS_BLOCK BRIGHTNESS_HAT

◆ KNOB_BLOCK

#define KNOB_BLOCK   22

KNOB_BLOCK

◆ DISTANCE_BLOCK

#define DISTANCE_BLOCK   24

DISTANCE_BLOCK

◆ DISTANCE_HAT

#define DISTANCE_HAT   29

DISTANCE_HAT

◆ TEMPERATURE_BLOCK

#define TEMPERATURE_BLOCK   25

TEMPERATURE_BLOCK

◆ IMU_HAT

#define IMU_HAT   26

IMU_HAT_BLOCK

◆ BUTTON_HAT

#define BUTTON_HAT   27

BUTTON_HAT_BLOCK

◆ WAVE_HAT_BLOCK

#define WAVE_HAT_BLOCK   30

WAVE_HAT_BLOCK

◆ MICROPHONE_HAT_BLOCK

#define MICROPHONE_HAT_BLOCK   31

MICROPHONE_HAT_BLOCK

◆ BAR_GRAPH_BLOCK

#define BAR_GRAPH_BLOCK   43

BAR_GRAPH_BLOCK

◆ DRIVE_BLOCK

#define DRIVE_BLOCK   45

DRIVE_BLOCK

◆ ROTATE_BLOCK

#define ROTATE_BLOCK   46

ROTATE_BLOCK

◆ SPEAKER_BLOCK

#define SPEAKER_BLOCK   47

SPEAKER_BLOCK

◆ FLASHLIGHT_BLOCK

#define FLASHLIGHT_BLOCK   48

FLASHLIGHT_BLOCK

◆ MOOD_RING_BLOCK

#define MOOD_RING_BLOCK   41

MOOD_RING

◆ FLASHLIGHT_HAT

#define FLASHLIGHT_HAT   58

FLASHLIGHT_HAT

◆ INVERSE_BLOCK

#define INVERSE_BLOCK   61

INVERSE_BLOCK

◆ MAX_BLOCK

#define MAX_BLOCK   62

MAXIMUM_BLOCK

◆ MIN_BLOCK

#define MIN_BLOCK   63

MINIMUM_BLOCK

◆ THRESHOLD_BLOCK

#define THRESHOLD_BLOCK   64

THRESHOLD_BLOCK

◆ WIRELESS_HAT

#define WIRELESS_HAT   75

WIRELESS_HAT