Here we go
- I did absolutely nothing
- just kidding
- Updates on JAS website
- I got hired and fired in 2 days
- New song with lyrics probably soon
- get yoinked
- subscribe to my friend top28, his yt channel
Joined on 8/18/24
Posted by invertskyze - December 21st, 2024
Here we go
Posted by invertskyze - December 13th, 2024
If I think the track won't be useful in the game, or if its just a demo, or if its just bad, I will disable the External API use checkmark.
See? I can be a good person :3
Posted by invertskyze - December 8th, 2024
I just woke up at 04:05 after 3 hours of sleep and im not even at home
So I am gonna tell you how to print some text on a 128x64 OLED display with arduino.
Step 1. Connect the display to your board. Make sure you have the board powered off before doing that. Also it will be much easier if you have a breadboard. Some people may be confused with VCC pin on the display, just connect it to 3.3v. If you're using a smaller board, like WEMOS D1 Mini, they usually dont type SCL and SDA pins on the board itself, just search up your board name and "pinout", look which pins have a little SCL or SDA mark, and connect them to the same pins on the display.
Step 2. Use Arduino IDE to write a sketch. idk who the hell came up with the idea of calling arduino projects sketches, that just means project file. Okay, first you need a good and fast library, and I recommend you GyverOLED, it is a library developed by a russian youtuber, and it works pretty fast on many other oled display variations. Install the library from the library manager. Now you see a prepared code with 2 empty functions, setup and loop. Do not delete them, if you did maybe try pressing ctrl+z or creating a new project. So, about the code...
Step 3. Actually coding. Right before the first function, write
#include <GyverOLED.h>
And on the next string write
GyverOLED<SSD1306_128x64, OLED_BUFFER> oled;
Now important moment. You can have a different display, if your program looks goofed, try replacing SSD1306 with SSH1106
Then, go inside the "setup" function and write
oled.init();
oled.clear();
oled.update();
The reason why you need to clear the display is because it just doesn't clear itself after rebooting. And remember that you have to write oled.update() after every time you put something on the screen, else it just will not display on there.
Now you see that i left 1 line blank, it wasn't by accident. Go on this line and type
oled.print("Your text");
Of course you can replace the example text with what you need.
You can read the library documentation on github to explore more functions, just type gyveroled in google
So the full code should look like this:
#include <GyverOLED.h> GyverOLED<SSD1306_128x64, OLED_BUFFER> oled; void setup() { oled.init(); oled.clear(); oled.print("Hello, NG!"); oled.update } void loop() { }
You see we left the second function empty. Thats because setup function runs only once after booting up, and loop repeats over and over again, and we only need to print one string just once.
Now connect your board to your pc and GO SMASH THAT UPLOAD BUTTON
Ask questions if something didnt work, comments are always opened, now have a good night lmao
its 05:02. i am screwed...
Posted by invertskyze - December 8th, 2024
"You can't make good music without musical education" - some random man who doesn't even know what dnb is. Now have you guys heard about dubstepcat...
Posted by invertskyze - December 8th, 2024
Here we go...
I guess thats all for now, have a good day and see you all!
Posted by invertskyze - November 20th, 2024