Recent Posts

71
General Discussion / Re: Tinyscreen+ Circles
« Last post by Volcanology on January 21, 2024, 09:31:52 PM »
Yes, there is a way to draw a circle on the Tinyscreen+ display, which is a color OLED display for the TinyDuino system https://learn.tinycircuits.com/Display/TinyScreen_TinyShield_Tutorial/. You can use the TinyScreen library, which is a library that supports both the OLED screen and the buttons on the board https://github.com/TinyCircuits/TinyCircuits-TinyScreenPlus-ASM2022/blob/master/examples/TinyScreenBasicExample/TinyScreenBasicExample.ino. The library has a function called drawCircle, which can draw a circle with a specified center, radius, and color. Here is an example code that can draw a circle on the Tinyscreen+ display:
geometry dash
#include <Wire.h>
#include <SPI.h>
#include <TinyScreen.h>

//Create a TinyScreen object
TinyScreen display = TinyScreen(TinyScreenPlus);

//Define the center, radius, and color of the circle
int centerX = 48; //The center x coordinate, from 0 to 95
int centerY = 32; //The center y coordinate, from 0 to 63
int radius = 20; //The radius of the circle, from 0 to 31
int color = TS_8b_White; //The color of the circle, using TS library color definitions

void setup() {
//Initialize the display
display.begin();
//Set the display to normal mode
display.setFlip(0);
//Clear the display
display.clearScreen();
//Draw a circle on the display
display.drawCircle(centerX, centerY, radius, color);
}

void loop() {
//Do nothing
}

I hope this helps.
72
General Discussion / Hello - Just ordered my thumby and looking around the forum...
« Last post by htmlgames on January 21, 2024, 04:27:01 PM »
...Excited to see what it can do.


Edit: Got it today, this thing is great.... cannot wait to make some games for it too.
73
Thumby / Re: Doom
« Last post by AncientJames on January 19, 2024, 04:42:36 PM »
It's promising that the fireplace works. One could presumably copy the timings from that, and I'll add some configuration options if I do another update. It's a tough one to fix without access to the specific hardware though.
74
Thumby / Re: Thumby not booting properly/unresponsive on boot
« Last post by Jason on January 19, 2024, 11:35:19 AM »
Hi, sorry to hear about your issue.

The fact that it still doesn't work after trying to restore the firmware using the instructions in the FAQ means that the hardware is erroring out or broken in some way.

Please try sending us a message using this form https://tinycircuits.com/pages/contact-us. Please provide the the month and year it was ordered and optimally the email and name of the person who ordered it. This will let us look up the order.

Again, sorry this happened.
75
General Discussion / Re: Always on!
« Last post by Jason on January 19, 2024, 11:28:11 AM »
Hi, that's looking pretty cool!

First, the TVs have a soft off mode that lasts for about 2 minutes. In that time, you can use the remotes to turn them back on, but after that you need to press the top button/switch.

Next, there's no way to bypass that switch other than by physically soldering wires to certain pins on the switch and connecting your own. If you are not familiar with soldering then I do not recommend you try this as you could permanently damage the board.

An alternative to all of this would be to modify the firmware to never fully shutoff, just turn the screen off, like in soft off mode. This way the remote could be used to toggle them on/off. Obviously, the TVs will always need to be plugged into power since the batteries will die.

If you are familiar with programming and Arduino, you can find the code here: https://github.com/TinyCircuits/TinyCircuits-TinyTVs-Firmware. It looks like you would have to remove these lines: https://github.com/TinyCircuits/TinyCircuits-TinyTVs-Firmware/blob/0940ebeb370e1ede4d30c0969dea52f89c328774/TinyCircuits-TinyTVs-Firmware.ino#L261-L263
76
General Discussion / Re: Always on!
« Last post by Ressibing on January 19, 2024, 04:54:38 AM »
 :) :) :) :) :)
77
Thumby / Re: Doom
« Last post by henryg on January 19, 2024, 01:28:18 AM »
First, thanks for helping me out.

Ok, well I am having trouble getting that running as well, so that might be part of it. When running greytest on the thumby, it just looks like it restarts and reloads the main menu. Same thing happens when using the sample code in the readme for ugrey .

Trying it in the emulator on https://code.thumby.us/, doesn't seem to work either. After figuring out i needed to mark /lib/ugrey.mpy as emulatable, it seems to run without error (including not exiting), but nothing appears on the emulated screen. Also, adding print statements doesn't seem to work, even the simple program below doesn't print anything to the console and the program doesn't exit. Even if I put invalid code below 'import ugrey' it doesn't seem to be evaluated and give an error

import sys
import ugrey
print ('hello world')
sys.exit()

The version info I can find is MicroPython v1.19.1 on 2022-06-18

I did try https://github.com/TinyCircuits/TinyCircuits-Thumby-Games/tree/master/Fireplace and could calibrate the greyscale in that program (but I know it is using a different driver).
78
Thumby / Re: Doom
« Last post by AncientJames on January 18, 2024, 06:23:44 PM »
I'm surprised you're getting a blank screen - I would expect at least some flickery image.
One thing to try would be to go back to the thumby firmware, then load ugrey.mpy and greytest.py on it from https://github.com/AncientJames/uGrey - if you run greytest.py, that should establish whether it's some incompatibility with the greyscale driver. It's also a more convenient way to try out different refresh rates, rather than recompiling Doom each time.
79
Thumby / Re: Doom
« Last post by henryg on January 17, 2024, 07:16:08 PM »
I just got a thumby to put doom on, and am having trouble. I tried using the most recent one file release, and when turning it on, I get nothing on the display. I tried the older release and got the same thing, both with and without the whx file (tested without just in case I messed something up with loading that file). I then saw the note about setting FRAME_PERIOD, and so set that to 6400 (and PARK_LINES to 2), compiled it, and tried loading it onto my thumby, again with no change on the screen when turning it on. I have 2 thumbys and I am getting the same result on both. I can go into bootsel and load the factory firmware and get them working again with that.

Unfortunately I don't really know where to start with troubleshooting this, so was hoping you might have some ideas, or at least get something to display on the screen. Thank you!

80
General Discussion / Re: Always on!
« Last post by Darlie on January 17, 2024, 03:25:49 PM »
Oh and they are all power wired together now. Sometimes they will turn back on if the power shut off  is not long.
SMF spam blocked by CleanTalk