Files
Troposphere/examples/example_app/change_fan_speed.c
T
2026-07-29 03:36:26 +03:00

18 lines
281 B
C

#include <stdio.h>
#include "include/troposphere_lib.h"
int main(int argc, char *argv[])
{
int pwm;
printf("Jibo fan speed set example\n");
scanf("%d", &pwm);
printf("Setting jibos fan speed to pwm: %d\n", pwm );
troposphere_api.setFanSpeed(pwm);
return 0;
}