Skip to content

Instantly share code, notes, and snippets.

@Agnishom
Created January 12, 2022 15:54
Show Gist options
  • Save Agnishom/3315c75ffa4000278a6c73e1144f1982 to your computer and use it in GitHub Desktop.
Save Agnishom/3315c75ffa4000278a6c73e1144f1982 to your computer and use it in GitHub Desktop.
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