D-Link DSL-G684T Bedienungsanleitung Seite 48

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 118
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 47
48
- TELNET to communicate with control system telnet protocol is used. When
command sent to Arduino is not one from above it is recognized as a telnet
command and send directly to WiFly shield. It is done to be able to change
properties of wireless connection stored within RN-131C module.
void Save_To_EEPROM(String data)
{
int start = 0;
byte c = 255;
for (int i = 0; i < 1023; i++)
{
if (EEPROM.read(i) == 255)
{
start = i + 1;
break;
}
}
for (int i = 0; i < data.length(); i++)
{
c = data.charAt(i);
EEPROM.write(start, c);
start++;
}
EEPROM.write(start , 255);
}
void Clear_EEPROM()
{
for (int i = 0 ; i < 1023 ; i++)
{
EEPROM.write(i,0);
}
}
Seitenansicht 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 117 118

Kommentare zu diesen Handbüchern

Keine Kommentare