This file contains 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
Adventures in Updating Firmware on the X16 29 Sept 2024 | |
# INSTRUCTION VERSION | |
The following is originally based on the following URL (nearly a year old at the | |
time of this text document): | |
https://github.com/FlightControl-User/x16-flash/blob/1d9c5f8c11ac94d129bfdfe95393f154d718f1d8/README.md | |
Please check for latest version, but all information below is consistent with this |
This file contains 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
0 on 'a' ~> 1 | |
1 on 'b' ~> 2 | |
2 on 'b' ~> 1 | |
1 on 'b' ~> 2 | |
2 on 'a' ~> 0 | |
0 on 'b' ~> 2 | |
2 on 'a' ~> 0 | |
0 on 'b' ~> 2 | |
2 on 'a' ~> 0 | |
0 on 'b' ~> 2 |
This file contains 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 <omp.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_THREADS 8 | |
static long steps = 1000000000; | |
double step; | |
int main (int argc, const char *argv[]) { |
This file contains 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
#!/usr/bin/perl -w | |
$| = 1; | |
use sigtrap 'handler' => \&sigtrap, 'HUP', 'INT','ABRT','QUIT','TERM'; # ^C, etc | |
while(1){ | |
print "Working...\n"; | |
sleep(2); | |
} | |
sub sigtap(){ | |
print "Caught a signal\n"; |