Annex involved into Christmas Holidays

If doesn't fit into any other category ....
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 222 times
Contact:

Re: Annex involved into Christmas Holidays

Post by PeterN »

Thank you Francesco,
that's a nice early Christmas present :D
I will test it and report back.

At the moment I am working at my AnnexCam pan/tilt camera. Found a dirty workaround for the 4 picture puffer problem, so that my TelegramBot returns the right current picture. Simply save the pic 4 times to disk :-) before returning it via Telegram
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 222 times
Contact:

Re: Annex involved into Christmas Holidays

Post by PeterN »

Hi Francesco,

I did a first quick test with 1.48.3 at a 16x16 panel and found this:

# a vertical offset of one line (Foto 1) with neoscroll.setup 1, 1,2,5,32,32,0

# a mirror effect (Foto 2) with neoscroll.setup 1,1,2,5,32,32,1

# a folding effect (Foto 3) with neoscroll.setup 1,1,2,5
DEA93E7C-6A00-4310-94FB-34FA70EB0F94.jpeg
D5088C09-08EC-4CF0-93E6-EA3026BD6AD5.jpeg
17F49E83-A696-4257-8975-4442933BC5E9.jpeg

# Annex32 1.48.3 at an ATOM ECHO with I2S sound: NOW WITHOUT DISTORTION
I2S sound at an ATOM ECHO
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2097
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 450 times
Been thanked: 1387 times
Contact:

Re: Annex involved into Christmas Holidays

Post by cicciocb »

Thanks Peter for your feedback,
so this is a good news.
I think I understood the problem for the Foto 2 and 3, very easy to fix.
However, there is no problem in the Foto 1 (a vertical offset of one line) as this is the black line defined at the bottom of the font.
You can simply try with a font that uses the full height or try to set pixels by pixel and check if the coordinates correspond.

P.S.
do you have a VS1053B audio codec module laying around your desk ? :D
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 222 times
Contact:

Re: Annex involved into Christmas Holidays

Post by PeterN »

Thanks Francesco,
yes I can address the matrix correctly.
There are tooooooo many things at my desk (my wife says) but sorry: no VS1053B
User avatar
cicciocb
Site Admin
Posts: 2097
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 450 times
Been thanked: 1387 times
Contact:

Re: Annex involved into Christmas Holidays

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Dec 19, 2022 3:01 pm Thanks Francesco,
yes I can address the matrix correctly.
There are tooooooo many things at my desk (my wife says) but sorry: no VS1053B
Now you can try to import BMP file and draw them on the display. You can play with 16x16 icons.
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 222 times
Contact:

Re: Annex involved into Christmas Holidays

Post by PeterN »

:D :D Have downloaded a compilation for exactly that purpose yesterday - but then I spent to much time with AnnexCam and Telegram :roll:

Will report asap
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 222 times
Contact:

Re: Annex involved into Christmas Holidays

Post by PeterN »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Dec 19, 2022 3:10 pm
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Dec 19, 2022 3:01 pm Thanks Francesco,
yes I can address the matrix correctly.
There are tooooooo many things at my desk (my wife says) but sorry: no VS1053B
Now you can try to import BMP file and draw them on the display. You can play with 16x16 icons.
I can successfully display my complete compilation of 16x16 BMP-icons. This reaches its limits when you have to work with reduced brightness on the LED panel.
Also, due to the principle, the brightness of a white pixel is now extremely high.
BUT IT WORKS GREAT!

Code: [Local Link Removed for Guests]

NEOSCROLL.SETUP 1, 1,2,5,32,32,0
NEOSCROLL.TEXT.BRIGHTNESS 10
neoscroll.fill 0
neoscroll.show 0,0
neoscroll.print "|ABC", "R"
neoscroll.show 0,0
wlog time$
f$=FILE.DIR$("/BMP")
while F$<>""
  FF$="/BMP/"+f$
  wlog time$,FF$
  NEOSCROLL.SPRITESHEET FF$
  NEOSCROLL.BRIGHTNESS 90
  NEOSCROLL.SPRITE 0, 0, 16, 16, 0, 0
  neoscroll.show 0,0
  f$=FILE.DIR$
  pause 1000
wend

end
Post Reply