Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - acedent

#1
Thumby / Re: Background art resources
December 06, 2023, 12:31:29 PM
~ 𝒮𝑒𝒶𝓈𝑜𝓃𝓈 𝒢𝓇𝑒𝑒𝓉𝒾𝓃𝑔𝓈 ~  ❄️👾❄️ 

invaders x
#2
Thumby / Re: Background art resources
October 31, 2023, 08:57:37 AM
💀 ℌ𝔞𝔭𝔭𝔶 ℌ𝔞𝔩𝔩𝔬𝔴𝔢𝔢𝔫! 💀

#3
Thumby / Re: Background art resources
May 29, 2023, 07:54:10 AM
Hi,

I finished up my asset pack of 'retro' 8x8px repeating tile patterns:
http://8x8.me

Public Domain - free to use.

The Thumby code snippets encode the image as a bytearray (and sprite), and original png images are provided.

Appreciate any feedback; hope it's useful :-)

#4
It would be great to add a super-thin Lipo to the range of batteries.
This would allow some new form-factors / credit card sized electronics :-D

E.g.
https://www.powerstream.com/thin-lithium-ion.htm#1101
Personally I want: PGEB016144 ultra thin battery 1 x 44 x 61 mm 200 mAh (it's actually 180mAh) ...
https://www.powerstream.com/p/PGEB014461.pdf
#5
Thumby / Future hardware /OLED revisions
January 07, 2023, 08:09:21 AM
Hi team TC!
I'm hoping to optimise the OLED code `ssd1306.py`.

Can I ask:
- Will you ever change the display size (/resolution) on the Thumby - or - can we assume the width and height will forever be 72x40px?
- Will the OLED module ever be changed to use an external drive voltage (`external_vcc`) rather than the built in charge pump?

Many thanks,
Andrew
#6
Thumby / Re: Scratch registers for Thumby settings
December 27, 2022, 06:23:45 PM
Thanks @Ben.  8)
I will continue to experiment this week on the branch.
You're probably aware it builds on the PR to tweak the core files:
https://github.com/TinyCircuits/TinyCircuits-Thumby-Code-Editor/pull/42
#8
Thumby / Scratch registers for Thumby settings
December 24, 2022, 07:41:18 AM
Currently the core files make use of the Watchdog timer's scratch register, to store and transfer data between soft-resets.
This allows `menu.py` to launch a game by soft-reseting back to `main.py` with a True `1` flag  set in the first scratch register (0), address `0x40058000+0x0C`.
(More info: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf  - Section 4.7.6)

My proposal:
I'd like to store 3 other settings in this semi-persistent storage:
`0x40058010` (scratch1) - Hardware ID / HWID (0–15)
`0x40058014` (scratch2) - Brightness level (1–127)
`0x40058018` (scratch3) - Intro /skip scrolling indicator (0,1)

Although these values require less than a byte each, I don't feel it's worth the code overhead to pack them into one 4 byte long register, since we have 8 registers available in total. Update: Cannot use `mem8()` to address each of the four bytes separately, as byte access is aligned to the start address block AFAIK (tested 28-Dec).

Motivation:
- We only need to evaluate the HWID once per session (on hard reset), not on every soft-reset (faster load times).
- We only need to read Contrast once and on change (faster load times).
- Additionally, I'd like to add a 'fast boot' option that skips scrolling and uses the 'scroll indicator', after the first boot.

Would welcome any feedback from TC staff (@Jason) and the community...?


Note: I'm posting here (vs Discord) for visibility and future search/ knowledge repository.
#9
Thumby / Re: Background art resources
October 01, 2022, 05:08:16 PM
I've changed the formatting style to better match my tastes...
e.g. https://github.com/ace-dent/8x8.me/blob/main/01-Dots/Dots.thumby.py#L18-L29

Hopefully moving the big comment block inside the byte array won't offend people!?
#10
Thumby / Re: Background art resources
September 29, 2022, 11:46:38 AM
@Jason - I appreciate the testing and review.

Currently assigning the bitmap to a Sprite class is commented out as default.  I figured this wasted RAM (/ program memory?) if the user chooses another blitting method or if the sprite is never used...?
Is that a fair assumption?
Might the API be extended in the future, with other blitting classes? (e.g. simple non-masked bitmap, or a screen pattern fill, etc.)
#11
Thumby / Re: Background art resources
September 28, 2022, 06:32:40 PM
Thanks Jason.
I'm new to Python and Thumby... does the generated code look reasonable?
I'd like to refine it to 100%, before converting hundreds of images!  ;D
#12
Thumby / Background art resources
September 28, 2022, 01:11:39 PM
Hi!

I'm just adding Thumby support to a collection of 'retro' 8x8px fill patterns.
e.g. https://github.com/ace-dent/8x8.me#11-symbols

The idea is to make it easy to copy& paste code to get the artwork.
I've crafted the `# BITMAP...` comment to support importing into the web based IDE / bitmap editor.

I would appreciate any feedback.
Thanks :-)
#13
Thumby / Re: Font size
October 16, 2021, 06:31:06 AM
@Ben - Have you looked at the arduboy2 lib for blitting fonts?
What is the bottleneck?
SMF spam blocked by CleanTalk