EVERYTHING FROM THE OTHER REPO

This commit is contained in:
2026-07-29 03:36:26 +03:00
parent 6777ea96db
commit 92a6ae42f5
4426 changed files with 1696506 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
arm-none-linux-gnueabihf-gcc -Iinclude change_fan_speed.c -Llib -ltroposphere -o change_fan_speed
Binary file not shown.
+17
View File
@@ -0,0 +1,17 @@
#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;
}
+3
View File
@@ -0,0 +1,3 @@
just an example app that runs in the terminal and changes jibos fan speed to intiger
pwm fan speed is capped inbetween 100-255 & if running be skill be aware that every time you go back to the eye it resets to 255
@@ -0,0 +1,16 @@
#ifndef TROPOSHPERE_API_H
#define TROPOSHPERE_API_H
typedef struct{
void (*setFanSpeed)(int pwm);
} Troposphere_API;
extern const Troposphere_API troposphere_api;
#endif
Binary file not shown.