tile_song_module

nRF5 SDK v16.0.0

#include <tile_song_module.h>

Data Fields

int(* play )(uint8_t number, uint8_t strength)
int(* stop )(void)
struct tile_song_tps_module_t * tps_module

Detailed Description

Tile Song module.

This module is used to allow the Tile app to play a song on the device.

Field Documentation

int(* tile_song_module::play)(uint8_t number, uint8_t strength)

Play song with given index number with strength from 0-3.

int(* tile_song_module::stop)(void)

Stop all songs.

struct tile_song_tps_module_t * tile_song_module::tps_module

Optional TPS Module (set to NULL if not supported).

  • external/tile/tile_lib/modules/tile_song_module.h