Function energy_set_count(energy_t, float)

Function Documentation

void energy_set_count(energy_t handle, float energy)

Sets a given energy value as the current energy count.

Parameters
  • handle: energy_t instance
  • joule: Energy to set (in Joule)