About katonafull

Feb. 7, 2013
Full Profile »

Tell us about yourself!

Complete Your Profile
  • two ways to reset arduino in software

    I found the solution to save String (or anithing else) from a subrutine that you have to reset.You have to store the data in the Flash or the EEPROM memori.I especially store my String class in the EEPROM. You can follow that here: http://forum.arduino.cc/index.php?topic=333521.new#new

    View Instructable »
  • two ways to reset arduino in software

    Hi!How can I get a String, int, or variable from the function that I want to reset?I use a string that I declare at the start of the code (in the loop).And In a void this string will contain for me important information, but I need to reset this void.And after that the string loss the information.How can I save that?here is the code:---------------------------------------void sendGET(){ if (Ethernet.begin(mac) == 0) { //Serial.println("Failed to configure Ethernet using DHCP"); // no point in carrying on, so do nothing forevermore: while(true); } Serial.begin(9600); Serial.println(F("Get ip from ipify")); // so I can keep track of what is loaded if (client2.connect(serverName, 80)) { //starts client connection, checks for connection Serial.println(F("connected")); client2.println(F("GET / HTTP/1.0")); //download text client2.println(F("Host: api.ipify.org")); client2.println(); //end of get request } else { Serial.println(F("connection failed")); //error message if no client connect Serial.println(); } while(client2.connected() && !client2.available()) delay(1); //waits for data while (client2.connected() || client2.available()) { //connected or data available char e = client2.read(); //gets byte from ethernet buffer if (IPis.length() < 180){ //original lenght: 30 IPis += (e); } //Serial.print(e); //prints byte to serial monitor } IPis = IPis.substring((IPis.length())-13,IPis.length()); //153-166 //IPis = ""; //only for test Serial.println(IPis); Serial.println(); Serial.println(F("disconnecting.")); Serial.println(F("==================")); Serial.println(); client2.stop(); //stop client delay(59000); resetFunc(); //call reset}-------------------------------------IPis the string that contain the information, and that I want to save out this void.It is declare beforethis void. Is there a procedure, that can save out the infromation from the voit that I have to reset?

    View Instructable »
  • katonafull commented on tcvella's instructable Ethernet Switching - with Arduino2 months ago
    Ethernet Switching - with Arduino

    Read he descriptions below.There is a code with 16 button and outputs.

    View Instructable »