Bram comment
This commit is contained in:
@@ -196,7 +196,7 @@ void loop() {
|
||||
}
|
||||
```
|
||||
|
||||
Here I made the physical design but instead of buzzers i used lights in order to show it working.
|
||||
Here I made the physical design but instead of buzzers I used lights in order to show it working.
|
||||

|
||||
And here is the the board working:
|
||||

|
||||
@@ -244,7 +244,7 @@ Even if it looked simple, this was the ignition I needed to understand python be
|
||||
|
||||
### Python for dummmies pt2
|
||||
After some intense trail and error, I managed to connect to the websocket.
|
||||
After wich i also managed to send infromation to the database by including details like pasword and such.
|
||||
After wich I also managed to send infromation to the database by including details like pasword and such.
|
||||
I began investigating deeper and asked for other people's vision on my code.
|
||||
|
||||
It wasa hard to notice what problems there were, but eventualy me and a classmate found out that the problem was inside of the database itself instead of the code. So after fixing some issues with the primary keys and some tesing with the code, I managed to fix the issues that popped up.
|
||||
@@ -254,7 +254,7 @@ This will have to be updated so all names could be sent to the database without
|
||||
But the current code does what we expect from sprint two but I will surely continue working on making it perfect.
|
||||
|
||||
### python for dummies pt3
|
||||
After the sprint review for sprint two, we as a team decided that i was time to make progress with connecting more nodes, and so i did.
|
||||
After the sprint review for sprint two, we as a team decided that it was time to make progress with connecting more nodes, and so I did.
|
||||
|
||||
I began searching for leads on how to grab information from a database, and used this website to teach me:
|
||||
https://www.w3schools.com/python/python_mysql_select.asp
|
||||
@@ -265,4 +265,4 @@ This originaly didn't work, and by printing all my variables and the array I ini
|
||||
But for some reason the given node wouldn't compare itself to the nodes in the array.
|
||||
That is when I found out the data from the array was in a tuple. So when I changed the variable to turn into a tuple, it worked like a charm.
|
||||
|
||||
Then after all of this trouble, I finished by putting the new node MAC (in string format) into the correct collum in the database so this will MAC will be saved in the future.
|
||||
Then after all of this trouble, I finished by putting the new node MAC (in string format) into the correct collum in the database so this will MAC will be saved in the future.
|
Reference in New Issue
Block a user