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
// | |
// GMFHeadlineList.h | |
// GMF | |
// | |
// Created by Vincent Demay on 28/09/11. | |
// Copyright (c) 2011 Goojet. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "GMFLinkSeparator.h" |
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
<?php | |
/** | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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 "FPS_GT511C3.h" | |
#include "SoftwareSerial.h" | |
//FPS connected to pin 4 and 5 - see previous schemas | |
FPS_GT511C3 fps(4, 5); | |
void setup() | |
{ | |
Serial.begin(9600); | |
//display messages on the classical serial teminal - DEBUG |
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 <asf.h> | |
static void config_led(void) | |
{ | |
struct port_config pin_conf; | |
port_get_config_defaults(&pin_conf); | |
//BUTTON | |
pin_conf.direction = PORT_PIN_DIR_INPUT; | |
pin_conf.input_pull = PORT_PIN_PULL_UP; |
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
ds.search(addr); // address on 1wire bus | |
if (addr[0] == DS18B20) // check we are really using a DS18B20 | |
{ | |
ds.reset(); // rest 1-Wire | |
ds.select(addr); // select DS18B20 | |
ds.write(0x4E); // write on scratchPad | |
ds.write(0x00); // User byte 0 - Unused | |
ds.write(0x00); // User byte 1 - Unused |
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
ds.search(addr); // address on 1wire bus | |
if (addr[0] == DS18B20) // check we are really using a DS18B20 | |
{ | |
ds.reset(); // rest 1-Wire | |
ds.select(addr); // select DS18B20 | |
ds.write(0x4E); // write on scratchPad | |
ds.write(0x00); // User byte 0 - Unused | |
ds.write(0x00); // User byte 1 - Unused |
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
ds.search(addr); // address on 1wire bus | |
if (addr[0] == DS18B20) // check we are really using a DS18B20 | |
{ | |
ds.reset(); // rest 1-Wire | |
ds.select(addr); // select DS18B20 | |
ds.write(0x4E); // write on scratchPad | |
ds.write(0x00); // User byte 0 - Unused | |
ds.write(0x00); // User byte 1 - Unused |