. . http://www.cogninova.com
../links/code.htm ../links/wrap.php?u=code.htm&t=1501122813 #z

google-code-prettify https://code.google.com/p/google-code-prettify/

jQuery.viewSource http://dukelupus.com/jQuery.viewSource

ARDUINO ../links/wrap.php?u=arduino.htm

//

void setup(){...}

pinMode(2,INPUT);

pinMode(3,OUTPUT);

void loop(){...}

int switchState = 0;

switchState = digitalRead(2);

if (switchState == LOW) {...}

else {...}

digitalWrite(3,HIGH);

delay(250);

const int sensorPin = A0; ???

const float baselineTemp = 20.0;

Serial.begin(9600); // öppna en seriell port [i setup()]

for(...;...;...){...}

int sensorVal = analogRead(sensorPin);

Serial.print("Sensor Value: ");

Serial.print(sensorVal);

float voltage = (sensorVal/1024.0) * 5,0; // convert the ADC reading to voltage

float temperature = (voltage - .5) * 100;

else if

/t

[skulle varit backslash]

const int greenLEDPin = 9;

analogWrite(redLEDPin, redValue);

#include <Servo.h>

Servo myServo;

int const potPin = A0;

myServo.attach(9);

angle = map(potVal. 0, 102, 0, 179);

angle = map(potVal. 0, 1023, 0, 179);

myServo.write(angle);

while (millis() < 5000) {...}

tone(8,pitch,20);

int buttons [6];

buttons[0] = 2;

int notes[] = {262,294,330,349}

Serial.println(keyVal);

if(keyVal == 1023){ tone(8, notes[0]); }

else if(... && ...) {...}

noTone(8);

unassigned longpreviousTime = 0;

unassigned long previousTime = 0;

long interval = 600000;

LiquidCrystal.h

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

lcd.begin(16, 2);

lcd.print(2Ask the");

lcd.setCursor(0, 1);

lcd.print("Ask the");

reply = random(8); // ger ett taL 0-7

lcd.clear();

switch(reply){ case 0: ... break; case ...}

boolean locked = false;

return true;

CapacitiveSensor.h

CapacitiveSensor capSensor = CapacitiveSensor(4.2);

long sensorValue = capSensor.capacitiveSensor(30); ?

inport proessing.serial.*;

Serial myPort;

PImage logo;

colorode(HSB, 255);

logo = loadImage(2http://arduino.cc/logo.png");

logo = loadImage("http://arduino.cc/logo.png");

size(logo.width, logo.height);

println(Serial.list()); // Tillgängliga seriella portar

myPort = new Serial(this, Serial.list()[0], 9600);

if (myPrt.available() gt 0) { bgcolor = myPort.read(); ... }

background(bgcolor, 255, 255);

image(logo, 0, 0);

#a
http://www.cogninova.com