min — current value of minutes.

Description:

u32 min ();

Returns the current value of minutes.

Return values:

Returns the present value of integer minutes passed from the beginning of an hour. Type of return value u32.

Example:

<item addr="524:248" INTERFACEID="2023"  name="Test for min function" type="script">
V-ID/m:1 
{
   u32 Min = min();
 
   // Result output to the interface
   u8 strForMess[100];
   sprintf(strForMess, "%cMinutes from the beginning of an hour: %d", 1, Min);
   setStatus(INTERFACEID:32, &strForMess);
}
</item>

The result of performing the example in the interface:

Every minute the messages with current value of minutes passed from the beginning of an hour appear in the interface.