|
Search
You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.
Results
- chipkit:start: 44 Hits
- eln:
<code c>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... n Pin 2 angeschlossen, kann also über <code c>
nP[RIGHT][2]
</code> angesprochen werden.
Man sieht in de... ===
<code c>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... P32 board definitions
void setup()
{
pinMode(nP[RIGHT][2],OUTPUT);
}
void loop()
{
digitalWrite(nP[RI
- projekte:nn_bot: 32 Hits
- No Obstactle
- Obstacle on left
- Obstacle on right
- Obstacle left and right
- Obstacle left and right close
Als Input habe ich zwei Sensoren also zwei Werte. Als Output habe ich 2 Motoren also ... Obstacle on left
{ 1, 0.6 }, // Obstacle on right
{ 0.6, 0.6 }, // Obstacle left and right
{ 0.3, 0.3 }, // Obstacle left and right close
Ausgabe:
{ 1, 1 }, // No Obstactle
{ 1, 0.2
- helvepic32bb:bspblink:start: 10 Hits
- c blink.ino>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... P32 board definitions
void setup()
{
pinMode(nP[RIGHT][2],OUTPUT);
}
void loop()
{
digitalWrite(nP[RIGHT][2], HIGH);
delay(250);
digitalWrite(nP[RIGHT][2], LOW);
delay(250);
}
</code>
=== 2) Regis... eg |= bitmask
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{
- helvepic32:bspblink:start: 10 Hits
- c blink.ino>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
#if defined(_BOARD_DP32_)
const uint8_t MAXWIN... ard definition
#endif
void setup()
{
pinMode(nP[RIGHT][2],OUTPUT);
}
void loop()
{
digitalWrite(nP[RIGHT][2], HIGH);
delay(250);
digitalWrite(nP[RIGHT][2], LOW);
delay(250);
}
</code>
=== 2) Regis... eg |= bitmask
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{
- helvepic32:bspinterrupt:start: 9 Hits
- bunden:
^ Interrupt ^ Pin ^ Kommentar ^
| int_0 | RIGHT - 2 | fest verdrahtet |
| int_1 | RIGHT - 4 | PP... int_2 | LEFT - 6 | PPS Voreinstellung|
| int_3 | RIGHT - 3 | PPS Voreinstellung|
| int_4 | RIGHT - 1 | ... nstellung|
Der Interrupt 0 ist fest mit dem Pin RIGHT-2 verbunden, die anderen Interrupts können auf an... Für das Beispile verbinden wir den Encoder A mit RIGHT-4.
Da der HelvePic32 keine internen Pull-up Wide
- wiki:syntax: 7 Hits
- hp.net/images/php.gif?200x50}}
By using left or right whitespaces you can choose the alignment.
{{ wik... of your text: Add two spaces on the left to align right, two spaces on the right to align left and two sp... Table with alignment ^^^
| right| center |left |
|left | right| center |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
This is how it looks in
- helvepic32:bspgpio:start: 7 Hits
- tten Pin auf der rechten Seite des HelvePic32 (nP[RIGHT][3])
Um den Status des Tasters auszulesen gehen wir wie beim Arduino vor:
<code c>digitalRead(nP[RIGHT][3])</code>
Das bedeutet, dass auch der ganze Cod... Zustand eines Pins durch
<code c>digitalWrite(nP[RIGHT][3],HIGH)</code>
bzw.
<code c>digitalWrite(nP[RIGHT][3],LOW)</code>
setzen, was aber an dem Pin für den Taster wenig Sinn ergibt. Also verbinden wir
- helvepic32:bsplcd:start: 7 Hits
- c domain.
*/
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... version 1.0 using DP32 bootloader
#define RS nP[RIGHT][0]
#define EN nP[RIGHT][1]
#define D4 nP[RIGHT][2]
#define D5 nP[RIGHT][3]
#define D6 nP[RIGHT][4]
#define D7 nP[RIGHT][5]
#include <LiquidCrystal.
- helvepic32:bspringcoderfinal:start: 7 Hits
- paß!
<code c>#include
#include
int spin = nP[RIGHT][3];
volatile int encoderPin1 = nP[RIGHT][4]; ... to INT-1 by default
volatile int encoderPin2 = nP[RIGHT][5];
volatile int number = 0;
volatile boolean s... pt routines
int oldnumber = number;
int rpin = nP[RIGHT][2];
int gpin = nP[RIGHT][1];
int bpin = nP[RIGHT][0];
int rval;
int gval;
int bval;
int enPin = nP[LEFT][3]; // Shift registers' Output Enable pin
- helvepic32:bsptft:start: 6 Hits
- den:
<code c>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{ 0,17, 9,10,11,12,13,14}... , 1, 2, 3, 6, 7, 8}};
const uint8_t TFT_CS = nP[RIGHT][7];
const uint8_t TFT_RST = nP[RIGHT][6];
const uint8_t TFT_RS = nP[RIGHT][5];
const uint8_t TFT_SDA = nP[RIGHT][4];
const uint8_t TFT_SCL = nP[RIGHT][3];
#include <UTFT.h>
// Declare which fonts we will be using
extern uint8_t SmallFont[];
// U
- helvepic32:bspstepper:start: 5 Hits
- y terry@yourduino.com
*/
#define LEFT 0
#define RIGHT 1
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{1... ne HALFSTEP 8
// motor pins
#define motorPin1 nP[RIGHT][3] // Blue - 28BYJ48 pin 1
#define motorPin2 nP[RIGHT][2] // Pink - 28BYJ48 pin 2
#define motorPin3 nP[RIGHT][1] // Yellow - 28BYJ48 pin 3
#define motorPin4 nP[RIGHT][0] // Orange - 28BYJ48 pin 4
// Red - 28
- helvepic32:bspanalog:start: 5 Hits
- logInput
*/
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... e input pin for the potentiometer
int ledPin = nP[RIGHT][2]; // select the pin for the LED
int senso... Wilhelm
*/
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14},{... ervo position, in microseconds
const int pin = nP[RIGHT][4]; // Choose _any_ pin number on your board
int
- helvepic32:bspn5110:start: 5 Hits
- ePic32
// 1 RST SPI SS Pin 11 10 8 Right 3
// 2 CE CS0 CE Pin 12 9 7 Right 2
// 3 DC SPI MISO Pin 10 12 Right 7
// 4 DN SPI MOSI DIN Pin 9 11 Right 0
// 5 CLK SPI CLK SCK Pin 8 13 Right 6
// 6 VCC
// 7 LIGHT
// 8 GND
#include
- helvepic32:bspservo:start: 3 Hits
- ach:
<code c>
const uint8_t LEFT=0;
const uint8_t RIGHT=1;
uint8_t nP[2][8] = {{0,17, 9,10,11,12,13,14 },... ervo position, in microseconds
const int pin = nP[RIGHT][3]; // Choose _any_ pin number on your board, i.e. pin 3, right side
void setup()
{
}
void loop()
{
for(pos = 1000; pos < 2000; pos += 1
- helvepic32:bspneopixel:start: 2 Hits
- helvepic32bb:bspn5110:start: 2 Hits
- helvepic32:bspservod:start: 2 Hits
- helvepic32:intro:start: 2 Hits
- helvepic32:wingled:start: 2 Hits
- helvepic32bb:intro:start: 2 Hits
- motor:bidirectional_motorcontrol_arduino: 2 Hits
- products:64x32_dot_matrix_rgb_display: 1 Hits
- helvepic32:elecfreakskit:start: 1 Hits
- helvepic32:bspshiftreg:start: 1 Hits

|