| |
- projekte:nn_bot: 28 Hits
- and right
- Obstacle left and right close
Als Input habe ich zwei Sensoren also zwei Werte. Als Outpu... t int InputNodes = 2; // The number of input neurons
const int OutputNodes = 2; // T... ne Fehlerrate aus:
<file>
Training Pattern: 0 Input: 1.00 1.00 Target: 1.00 1.00 Output 0.23 0.58
Training Pattern: 1 Input: 0.60 1.00 Target: 1.00 0.20 Output 0.23 0.59
Training Patte
- helvepic32:elecfreakskit:start: 12 Hits
- the LED pin as an output.
pinMode(button, INPUT_PULLUP);// initialize the BUTTON pin as an input.... ;
#endif
void setup()
{
pinMode(vibration,INPUT_PULLUP);// initialize the vibration pin as an input.
pinMode(buzzer,OUTPUT);// initialize the buzzer pin as an output.
}
void loop()
{
... FT][4];
#endif
void setup()
{
pinMode(pir,INPUT_PULLUP);// initialize the vibration pin as an inp
- wireless:wifi: 8 Hits
- );
pinMode(SSR_PIN, OUTPUT);
pinMode(PIR_PIN, INPUT);
analogWrite(LIGHT_PIN, 8);
digitalWrite(SSR... ted = false;
char escape_buffer[8] = "";
char input_buffer[BUF_SIZE] = "";
if ( mySP.available() )... // incoming data elsewise:
else {
input_buffer[buffer_pos] = cin;
buffer_pos++;
...
Serial.print("IN: ");
Serial.println(input_buffer);
#endif
if ( input_buffer[0] == '
- arduino:attinyusb:helvetiny85:tutorials: 7 Hits
- add 300 - 500 Ohm resistor on first pixel's data input
// and minimize distance between Arduino and firs... htness);
strip.show();
delay(Speed);
}
// Input a value 0 to 255 to get a color value.
// The col... State = LOW;
void setup() {
pinMode(buttonPin, INPUT);
pinMode(ledPin, OUTPUT);
digitalWrite(ledPi... pinMode(piezoPin, OUTPUT);
pinMode(sensorPin, INPUT);
}
void loop() {
sensorValue = analogRead(sen
- chipkit:start: 6 Hits
- ssen, da für das Beispiel unwichtig.
==== Analog Input ====
Der PIC32MX250F128B hat 9 analoge Input Pin... r linken Seite auf den Pin 2, den ersten analogen Input dieser Seite (siehe Diagramm oben).Das Auslesen d... e beim Arduino:
<code c>
/*
Code based on Analog Input
Created by David Cuartielles
Modified 4 Sep 201... er
int sensorPin = nP[LEFT][2]; // select the input pin for the potentiometer
int ledPin = nP[RIGHT][
- helvepic32:bspanalog:start: 6 Hits
- =>[[helvepic32:|HelvePic32]]
==== Analog Input ====
Der PIC32MX250F128B hat 9 analoge Input Pins, welch... r linken Seite auf den Pin 2, den ersten analogen Input dieser Seite (siehe Diagramm oben).Das Auslesen d... e beim Arduino:
<code c>
/*
Code based on Analog Input
Created by David Cuartielles
Modified 4 Sep 201... er
int sensorPin = nP[LEFT][2]; // select the input pin for the potentiometer
int ledPin = nP[RIGHT][
- arduino:attinyusb:helvetiny84:tutorials: 4 Hits
- {
pinMode(ledPin, OUTPUT);
pinMode(sensorPin, INPUT);
}
void loop() {
sensorValue = analogRead(sen... add 300 - 500 Ohm resistor on first pixel's data input
// and minimize distance between Arduino and firs... htness);
strip.show();
delay(Speed);
}
// Input a value 0 to 255 to get a color value.
// The col... Helvetiny84!");
mySerial.println("Give me some input:");
}
void loop() { // run over and over
if (m
- playground:playground: 3 Hits
- action="<?php wl($ID)?>">
<div class="no">
<input type="submit" value="Export to ODT" class="button" />
<input type="hidden" name="do" value="export_odt" />
<input type="hidden" name="id" val
- reviews:electricimp: 3 Hits
- pc++;
}
</code>
Auf dem eImp wartet ein Code auf Input vom UART port (der Code wurde dem Tutorial von Sp... asst):
<code c>
// Transmit data between UART and Input/OutputPorts on the impee
// by: Jim Lindblom
// ... . It's name is "UartCrossAir", and it has both an input and output to be connected:
imp.configure("UartCr
- sensors:input_multiplexer_cd4051: 3 Hits
- ====== Input Multiplexer (Eingänge vervielfachen) ======
Wenn zu wenig Eingänge am Arduino für die gewünschte Anwendung verfügbar sind dann hilft ein Input Multiplexer wie der [[http://shop.boxtec.ch/analo... Setup
const int analogInPin = A7; // Analog input pin from Multiplexer
const int maxi = 8;
- sensors:sdm-io_ultrasonic: 3 Hits
-
pinMode(trig_pin, OUTPUT);
pinMode(echo_pin, INPUT);
digitalWrite(trig_pin, LOW);
Serial.begin(9... gPin, OUTPUT); //pin is output
pinMode(EchoPin, INPUT); // pin is now input
digitalWrite(TrigPin, HIG
- arduino:attinyusb:helvetiny85: 2 Hits
- {
pinMode(ledPin, OUTPUT);
pinMode(sensorPin, INPUT);
}
void loop() {
sensorValue = analogRead(sen... edValue = 0;
void setup() {
pinMode(sensorPin, INPUT);
pinMode(ledPin, OUTPUT);
// Led Test
ana
- helvepic32:bspringcoderfinal:start: 2 Hits
- Write(datPin, LOW);
pinMode(encoderPin1, INPUT);
digitalWrite(encoderPin1, HIGH);
pinMode(encoderPin2, INPUT);
digitalWrite(encoderPin2, HIGH);
attachInterrupt(1, i
- helvepic32:bspinterrupt:start: 2 Hits
- Serial.begin(9600);
pinMode(encoderPin1, INPUT);
pinMode(encoderPin2, INPUT);
at
- interface:start: 2 Hits
- arduino:start: 2 Hits
- arduino:attinyusb:helvetiny85_3.3_v: 2 Hits
- arduino:sleep: 1 Hits
- helvepic32:bspi2calphanum:start: 1 Hits
- arduino:attinyusb:helvetiny84: 1 Hits
- sensors:start: 1 Hits
- helvepic32:start: 1 Hits
- wireless:zigbee: 1 Hits
- wireless:esp8266: 1 Hits
- arduino:watchdog: 1 Hits
- arduino:seeeduino_lite: 1 Hits

|