Ok j'ai bien compris mais je suis vraiment débutant et j'ai beaucoup de mal a comprendre le codage, donc je vais poster le code que je me sert pour tester les cartes moteino et qui fonctionne, il suffirait d'y adapter mon code arduino pour commander le moteur pas a pas. Le problème c'est que je n'y arrive pas çà me dépasse vraiment, quel frustration de rien y comprendre !!! 
CODE MOTEINO ( Emmeteur) :
#include <RFM69.h>
#include <SPI.h>
#define NODEID 2 //unique for each node on same network
#define GATAWAYID 1
#define NETWORKID 100 //the same on all nodes that talk to each other
//Match frequency to the hardware version of the radio on your Moteino (uncomment one):
#define FREQUENCY RF69_433MHZ
#define ENCRYPTKEY "sampleEncryptKey" //exactly the same 16 characters/bytes on all nodes!
#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define ACK_TIME 30 // max # of ms to wait for an ack
#define LED 9 // Moteinos have LEDs on D9
#define SERIAL_BAUD 115200
#define D4 4
#define DESTINATION_NODE 1
RFM69 radio;
bool promiscuousMode = true; //set to 'true' to sniff all packets on the same network
int D4Status = 0;
void setup()
{
//Setup the pins
pinMode(LED, OUTPUT);
pinMode(D4, INPUT);
//Start the Serial
Serial.begin(SERIAL_BAUD);
delay(10);
//Initialize the radio
radio.initialize(FREQUENCY,NODEID,NETWORKID);
#ifdef IS_RFM69HW
radio.setHighPower(); //uncomment only for RFM69HW!
#endif
radio.encrypt(ENCRYPTKEY);//Turn encryption ON
radio.promiscuous(promiscuousMode);
char buff[50];
sprintf(buff, "\nTransmiting at %d Mhz...", FREQUENCY==RF69_433MHZ ? 433 : FREQUENCY==RF69_868MHZ ? 868 : 915);
Serial.println(buff);
}
void loop()
{
if (digitalRead(D4) == HIGH)//If the button connected to Digital Input pin 4 was pushed,
{
delay(10);//wait 10ms for debounce
Serial.print("Sending a D4 Status to node "); Serial.print(DESTINATION_NODE); Serial.println(" and waiting for ACK...");
if (radio.sendWithRetry(DESTINATION_NODE, "4:1", 3, 2, ACK_TIME))//Send the 3 byte packet to node 1 for processing, try that 2 times and wait 30ms each time for an ACK
{
Serial.println("ACK Received");//If the sent packet was delivered and an ACK received, send this message to the serial monitor
delay(3);// Allow the the radio to switch to receive mode
Blink(LED,100);//Blink the transmitter led to show the data was successfully sent
while (digitalRead(D4) == HIGH)//Just a loop to wait for the button to be released
{
}
}
}
}
void Blink(byte PIN, int DELAY_MS)//Local led blinking function
{
pinMode(PIN, OUTPUT);
digitalWrite(PIN,HIGH);
delay(DELAY_MS);
digitalWrite(PIN,LOW);
}
CODE MOTEINO ( Récépteur) :
#include <RFM69.h>
#include <SPI.h>
#define NODEID 1 //unique for each node on same network
#define NETWORKID 100 //the same on all nodes that talk to each other
//Match frequency to the hardware version of the radio on your Moteino (uncomment one):
#define FREQUENCY RF69_433MHZ
#define ENCRYPTKEY "sampleEncryptKey" //exactly the same 16 characters/bytes on all nodes!
#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define ACK_TIME 30 // max # of ms to wait for an ack
#define LED 9 // Moteinos have LEDs on D9
#define SERIAL_BAUD 115200
RFM69 radio;
bool promiscuousMode = true; //set to 'true' to sniff all packets on the same network
char packet[3]; // Allocate some space for the packet array
void setup()
{
Serial.begin(SERIAL_BAUD);//Initialize the Serial port at the specified baud rate
delay(10);//Wait for the Serial port to settle down
//Initialize the radio
radio.initialize(FREQUENCY,NODEID,NETWORKID);
#ifdef IS_RFM69HW
radio.setHighPower();
#endif
radio.encrypt(ENCRYPTKEY);//Turn the radio Encryption ON
radio.promiscuous(promiscuousMode);//Turn the radio Promiscuous mode ON
//Create and display a startup message on the serial monitor
char buff[23];//buff[] is an array that will hold the "Listening at XXX Mhz..." message
sprintf(buff, "\nListening at %d Mhz...", FREQUENCY==RF69_433MHZ ? 433 : FREQUENCY==RF69_868MHZ ? 868 : 915);//buff will be filled with th FREQUENCY variable content
Serial.println(buff);//Send the message to the serial monitor
}
void loop()
{
if (radio.receiveDone())//If some packet was received by the radio, wait for all its contents to come trough
{
if (radio.TARGETID == 1)//Check if the packet destination is this radio (NODE 1)
{
//Display a message on the serial monitor showing the packet origin radio NODE number
Serial.print('[');Serial.print(radio.SENDERID, DEC);Serial.print("] ");
//If the radio Promiscuous mode is ON, show the packet destination radio NODE number on the serial monitor
if (promiscuousMode)
{
Serial.print("to [");Serial.print(radio.TARGETID, DEC);Serial.print("] ");
}
//Check the data packet length and fill the packet[] array with its contents
for (byte i = 0; i < radio.DATALEN; i++)
{
packet[i] = (char) radio.DATA[i];
//Display the data packet content on the serial monitor
Serial.print (packet[i]);
}
//Add the transmission signal level to the message to be displayed on the serial monitor
Serial.print(" [RX_RSSI:");Serial.print(radio.RSSI);Serial.print("]");
//Add a plain message stating the radio NODE number which sent the data
byte theNodeID = radio.SENDERID;
Serial.print("; Data received from node ");
Serial.print(theNodeID);
//If an ACK (acknowledge) was requested by the data packet transmitter radio, send the ACK back to it and display "ACK sent" on the serial monitor
if (radio.ACK_REQUESTED)
{
radio.sendACK();
Serial.println(" - ACK sent");
}
//Now the receiving Moteino can do something with the data sent in from the transmitter.
//In the packet received, the index 0 of the array holds the digital pin number and index 2 its HIGH/LOW status
//If it matches the next condition, set the pin accordingly, and blink the local led for 100ms
if (packet[0]=='4' && packet[2]=='1')
{
Blink(LED,100);
packet == "";
}
}
//If the destination radio was not this one, show the 3 requests for ACK from the transmitter radio
else
{
Serial.print('[');Serial.print(radio.SENDERID, DEC);Serial.print("] ");
if (promiscuousMode)
{
Serial.print("to [");Serial.print(radio.TARGETID, DEC);Serial.print("] ");
}
for (byte i = 0; i < radio.DATALEN; i++)
{
packet[i] = (char) radio.DATA[i];
Serial.print (packet[i]);
}
Serial.print(" [RX_RSSI:");Serial.print(radio.RSSI);Serial.print("]");
byte theNodeID = radio.SENDERID;
Serial.println("; Not for me");
}
}
}
void Blink(byte PIN, int DELAY_MS)//The led blinking function
{
pinMode(PIN, OUTPUT);
digitalWrite(PIN,HIGH);
delay(DELAY_MS);
digitalWrite(PIN,LOW);
}
Merci beaucoup!