Created
January 12, 2022 15:54
-
-
Save Agnishom/3315c75ffa4000278a6c73e1144f1982 to your computer and use it in GitHub Desktop.
Copilot example code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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