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 <stdint.h> | |
#include <gpio.h> | |
#include <spi.h> | |
#include "nRF24L01p.h" | |
/* | |
* nRF24L01p HW interface: | |
* IRQ: interrupt (out) | |
* CE: chip enable (in) | |
* SPI: CSN, SCK, MOSI, MISO |
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 <stdint.h> | |
#include <ch.h> | |
#include <hal.h> | |
#include "blocking_uart_driver.h" | |
// Virtual Methods Table | |
const struct BaseSequentialStreamVMT blocking_uart_put_vmt = { | |
blocking_uart_write, | |
blocking_uart_read, | |
blocking_uart_put, |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project source="2.13.11" version="1.0"> | |
This file is intended to be loaded by Logisim-evolution (https://github.com/reds-heig/logisim-evolution). | |
<lib desc="#Wiring" name="0"> | |
<tool name="Splitter"> | |
<a name="facing" val="north"/> | |
</tool> | |
<tool name="Pin"> | |
<a name="facing" val="south"/> | |
</tool> |
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 "ch.h" | |
#include "hal.h" | |
#include <string.h> | |
static THD_WORKING_AREA(waThread1, 128); | |
static THD_FUNCTION(Thread1, arg) | |
{ | |
(void)arg; | |
chRegSetThreadName("blinker"); | |
while (true) { |
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/env python3 | |
from PyPDF2 import PdfFileWriter, PdfFileReader | |
import argparse | |
import copy | |
parser = argparse.ArgumentParser() | |
parser.add_argument('original', | |
help='input PDF.', | |
metavar='INPUTFILE',) | |
parser.add_argument('output', |
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
/* | |
MIT License | |
Copyright (c) 2018, Michael Spieler | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) | |
project(eigen_autodiff) | |
# Eigen library | |
find_package(Eigen3 3.3 REQUIRED NO_MODULE) | |
add_executable( | |
test |