Skip to content

Instantly share code, notes, and snippets.

@Agnishom
Created January 12, 2022 15:54
Copilot example code
#include <stdio.h>
#include "heater.c"
uint8_t temperature;
int main(){
for (int i = 0; i < 200; i++){
temperature = i;
step();
}
return 0;
}
void heaton(float heaton_arg0){
printf("heat on\n");
return;
}
void heatoff(float heatoff_arg0){
printf("heat off\n");
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment