I fighted for over an hour to publish it in github pages. But it was worth it because it’s now liveee https://vilp357.github.io/speedMathTraining (pls test).
Before shipping I still need to fix some responsive issues and finish readme, but we’re almost there.
Lot of time, no progress.
I spent quite a long time trying to make buttons on my board work with my code. I couldn’t make them work :) . Instead of buttons I might make text change with specific a frequence.
I started making box case for simple electronics (the board and battery case). I used Tinkercad for modelling. I had used Tinkercad before but it’s been long time since I used it last time. I really liked that Tinkercad has ready models of electronics even though it didn’t have the ones I’m using. That’s why I had to use components as close as possible to my actual components.
I think I’ve completed part 5 now. I still have to finish readme and deploy this and the ship. This will actually be my first ship!!
I’ve already planned things to do in WebOS 2 (and I actually started doing them). The new app I created in part 5 is link app because I often forget important websites and the app is a place to store links for those sites.
It’s been a while since last devlog, mostly because I haven’t had time to work with this, but also because hasn’t been any big updates.
to meet Calc, the mascot of the speedMath Training.
I still need to add Calc to the site. I’m also planning to make a buddy for them and together they will cheer you on.
This project has now officially started. Git and github are set up and the core feature works! Currently the arduino (it’s actually Wemos, not arduino) is able to show current price.
I use free API to get spot electricity price (it’s price in Finland).
https://api.spot-hinta.fi/JustNow
The board I use is Lolin D1 mini Pro V2.0.0
The UI is starting to look good and is much better than few days ago. Today I spent most of my time working on the main screen and a significant amount of it was used to do styles for the checkboxes.
I don’t know yet much time I want to use for this project, because it has already all the core features I have thought. I have been planning other new projects and I need time for those and I don’t have as much motivation as before for this project.
-Make it more mobile friendly
-Finish styles for components
-Fix component placing
Today I continued working by starting to design UI. The image shows color palettes I have thought. The upper is for light mode and lower is for dark mode. I still have to figure out contrast things. I thought I’d use the green for buttons with either white or black text, but I barely could see the white text so something has to be done? Maybe other color or shadows for text.
How I tried before
Math.floor(Math.random()*(Math.pow(10,digits[0]))*Math.pow(10, digits[1]-digits[0]))
and
Math.floor((Math.random() * 10)*(Math.pow(10, digits[0]-1))*Math.pow(10, Math.ceil(Math.random() * digits[1]-digits[0])))
Where digits[0] is minimum number of digits and digits[1] is maximum number of digits
A function randomNumber gets number of decimals as paramater and the function is called
randomNumber(Math.round(Math.random() * (digits[1]-digits[0])) + digits[0])
Problems this fixes: