This is my first devlog of this project.
What I did today:
Added files for handling API and added JSON!!
It took me hours to create a system to handle API because I was having so many errors in my program, for example, sometimes a reference was skipped, but now they are all in the correct way and the program works.
Im new to json with python, so please comment how to format my code!
click this link for github
Formats pdf into excel.
I used fitz to open pdf and read it. This program runs through each span in the pdf, basically each part of the line that has the same font settings. Since the refernces of the verses are bolded, and the actual verse is not bolded, according to that I ordered each row in an excel file that has a reference with its own verse.
This file formats the verses by character length. This file was made by AI. This file iterates through the rows and orders them from least to greatest.
This program contained the function for opening files. Nothing much to it.
Unplugged wires LCD module wires from arduino and breadboard
Found out that I switched VDD and VSS pins (5V and GND)
I tried to put the module back, but when connected to power module heated up
Put the module in the write position
added resistor for Anode
Learned about lcd.setCursor()
Learned about how cursor and clear works
learned about character, row and column
Made text sync with the light, so when says 3, red light, 2 yellow light, one yellow light, go green light
Today I created options if the user typed in wrong data, they could change it. I also created options if the user typed in something that was not supposed to be typed, an error message would appear.
Took a very long time, and used a lot of if/elif/else statement. You can see in the picture just a glimpse of the hundreds of if/else.
Now you can choose between a planet and a moon. The program asks the user input for these things:
Then this is stored into a dictionary. Then this puts the data into an excel spreadsheet.
I still need to ask the user for the distance of the planet/moon from earth. Then I can calculate the fuel needed to get there.
Maybe use SQL for data?
The user of dictionaries helped a lot in this program. Now I fully understand how it works.
Made a new function that finds the minimum and maximum of the data.
While creating the function, there was some errors with the if statement.
The if statement checks if the user typed 0 or 1, but the user input was not converted into an int. So the min max function was skipped.
The function started to return the minimum price but the name of that product was different.
The fix was simple - there was an if statement that checked if the min/max was the current cell but the part where it assigns the product_name was not indented, so it was out of this if statement
Had a few errors with unpacking, but the changes were made to fix it
This is my first hardware project
Connected the LEDs to the breadboard and used 220 ohm resistors. Then I connected the breadboard jumper wires to the I/O pins.
My idea is that a person will start the game and there will be a countdown. This game will be a reaction game. The person will put their car behind the ultrasonic sensor.
If the person launches the car after the green, they win, but if they do it to early, they lose.
Finished the README file
Created a new project and allowed user to create a new mission and set some key values for the mission.
Now users can type in letters that represent each column instead of typing numbers
Edit README
A class for functions