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" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8"/> | |
<title>CSG</title> | |
</head> | |
<body style="color:white; background-color:black"> | |
<pre> |
![Screenshot_02.png](https://gist.github.com/johnhowe/2fc81371a62964433797992dd8350a26/raw/c1df1771906ffbc05d2b43d7b24dafadef7970ac/Screenshot_02.png)
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
/* FreeEMS - the open source engine management system | |
* | |
* Copyright 2008-2011 Fred Cooke | |
* | |
* This file is part of the FreeEMS project. | |
* | |
* FreeEMS software is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
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
# $Id$ | |
# Maintainer: | |
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> | |
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org> | |
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> | |
_pkgbase=xerces-c | |
pkgname=lib32-${_pkgbase} | |
pkgver=3.1.1 | |
pkgrel=4 |
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
#!/bin/bash | |
echo "Starting" | |
#==================================================== | |
# Added properties directory | |
# Updated for Eclipse plugin | |
# Moved shared files to /usr/local/share/usbdm | |
#==================================================== |
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
#!/bin/bash | |
echo "Starting" | |
#==================================================== | |
# Added properties directory | |
# Updated for Eclipse plugin | |
# Moved shared files to /usr/local/share/usbdm | |
#==================================================== |
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
#!/bin/bash | |
echo "Starting" | |
#==================================================== | |
# Added properties directory | |
# Updated for Eclipse plugin | |
# Moved shared files to /usr/local/share/usbdm | |
#==================================================== |
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 <stdlib.h> | |
#include "ch.h" | |
#include "hal.h" | |
#include "mma845x.h" | |
#define ACCEL_RX_DEPTH 8 | |
#define ACCEL_TX_DEPTH 8 | |
#define ACCEL_CTRL_REG1 0x2A |
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
static int mma8451_change_mode(struct i2c_client *client, int mode) | |
{ | |
int result; | |
u8 tmp_data = 0; | |
mma_status.ctl_reg1 = 0; | |
result = i2c_smbus_write_byte_data(client, MMA8451_CTRL_REG1, 0); | |
if (result < 0) | |
goto out; |
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
#define F_CPU 20000000 | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include <util/delay.h> | |
#include <stdio.h> | |
#include <math.h> | |
/* | |
----------------------- | |
Self-Balancing Unicycle |
NewerOlder