How to store coordinate values using arduino for solving a maze
i don't get to you brother i'm sorry can you please send me sample program of how to update the array at every node and so on
Example code to do your entire project? No, I don't have that, sorry.
Is the forum refusing to allow attachments/uploads again?
WOW! That EEPROM library is pretty neat. I had no idea Arduino could do that.
Thanks.
Deek
you first Map the Maze and represent as numbers to understand as we human understand
As example if a Maze is x by y long
Map it with Array variable - inform Arduino that these are cells
Following is given matrix as Maze of 4x4 ONE are path and open to travel and Zeros are Blocks
1010
1111
1000
1111
Following is the Result Path to travel
1000
1000
1000
1111
Following are the coordinates for path
[0,0]
[1,0]
[2,0]
[3,0]
[3,1]
[3,2]
[3,3]
The startup code is like this
int array[4][4]={{1,1,1,0},
{1,1,1,1},
{1,0,0,0},
{1,1,1,1}};
I hope that you can take start
Arduino is very good at that and can solve this very comfortably
When you are able to store these cells coordinates in array.
Inform what is further you look for in maze so that we can develop your programming skills and you can learn by doing yourself and writing code.
Best regards
Hope for your success
PKArduino
lailajamil