espnowSimple 1
Loading...
Searching...
No Matches
cansat24write.ino File Reference
#include "CanSatNeXT.h"
#include "cansatdk.h"
Include dependency graph for cansat24write.ino:

Go to the source code of this file.

Macros

#define NETID   72
#define LEDPIN   5

Functions

void setup ()
void fillDataPkg (cansatdkPkg *pkg)
void loop ()

Variables

const unsigned long timePeriod = 500
unsigned long nextTime
uint8_t nodeMAC [6]
cansatdkPkg dataPkg
int iii = 0

Macro Definition Documentation

◆ LEDPIN

#define LEDPIN   5

Definition at line 37 of file cansat24write.ino.

Referenced by loop(), and setup().

◆ NETID

#define NETID   72

Definition at line 35 of file cansat24write.ino.

Function Documentation

◆ fillDataPkg()

void fillDataPkg ( cansatdkPkg * pkg)

Definition at line 82 of file cansat24write.ino.

References nodeMAC.

Referenced by loop().

Here is the caller graph for this function:

◆ loop()

void loop ( )

Definition at line 96 of file cansat24write.ino.

References dataPkg, fillDataPkg(), iii, LEDPIN, nextTime, and timePeriod.

Here is the call graph for this function:

◆ setup()

void setup ( )

Definition at line 44 of file cansat24write.ino.

References LEDPIN, NETID, nextTime, nodeMAC, and timePeriod.

Variable Documentation

◆ dataPkg

cansatdkPkg dataPkg

Definition at line 80 of file cansat24write.ino.

◆ iii

int iii = 0

Definition at line 94 of file cansat24write.ino.

Referenced by loop().

◆ nextTime

unsigned long nextTime

Definition at line 40 of file cansat24write.ino.

Referenced by loop(), and setup().

◆ nodeMAC

uint8_t nodeMAC[6]

Definition at line 42 of file cansat24write.ino.

Referenced by fillDataPkg(), and setup().

◆ timePeriod

const unsigned long timePeriod = 500

Definition at line 39 of file cansat24write.ino.

Referenced by loop(), and setup().