tes edytora Beta

test test test test
test test test

Test test

tes test

Test Test

Test Test

~~~~~~~~~~~~~~~~~~~~~

void setup()

{

pinMode(ledPin, OUTPUT); // sets the digital pin as output

}

~~~~~~~~

~~~~~~~~~~~~


\#include <SPI.h>

\#include <nRF24L01.h>

\#include <RF24.h>

// Define the digital inputs

\#define jB1 1  // Joystick button 1

RF24 radio(7, 10);   // nRF24L01 (CE, CSN)

const byte address\[6\] = "00001"; // Address

// Max size of this struct is 32 bytes \\\- NRF24L01 buffer limit

struct Data\_Package \{

    byte j1PotX;

    byte j1PotY;

    byte jPotX;

    byte jPotY; 

\};

Data\_Package data; //Create a variable with the above structure

void setup() \{

    Serial.begin(9600);

    // Define the radio communication

    radio.begin();

    radio.openWritingPipe(address);

    radio.setAutoAck(false);

    radio.setDataRate(RF24\\\_250KBPS);

    radio.setPALevel(RF24\\\_PA\\\_LOW);

    // Activate the Arduino internal pull\\\-up resistors

    // Set initial default values

    data.j1PotX = 127; // Values from 0 to 255. When Joystick is in resting position, the value is in the middle, or 127. We actually map the pot value from 0 to 1023 to 0 to 255 because that's one BYTE value

    data.j1PotY = 127;

    data.jPotX = 127;

    data.jPotY = 127;

\}

Test Test

Test Testtest test test test

Test Testtest test test test

TME Education belongs to **Transfer Multisort Elektronik Sp. z o.o**.

Test Testtest test

Test Testtest test test test test test

Test Testtest test test test

Test Testtest test test test

Test Testtest test test test

test test

Test Testtest test test testTest Testtest

test test tes test

  1. test

test

  • test tes
  • test


test

test

test

test

Test

test

test