123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|675|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> SpinalWatch

Page : 1 2 3 4 5 6 7 8 9 Prev 10
Next
Sat, 26 Aug 2023, 05:35
Jayenkai
*phew*

OK, now get back to fixing the word-wrap!

-=-=-
''Load, Next List!''
Sat, 26 Aug 2023, 07:10
spinal
This is just getting longer and longer, and still not right.



-=-=-
Check out my excellent homepage!
Sat, 26 Aug 2023, 07:29
Jayenkai
Not seeing anything too obvious, there.

I'm assuming fHeight is right, or that fontnn[0][1] is the correct value for it's height..

-=-=-
''Load, Next List!''
Sat, 26 Aug 2023, 08:08
spinal
I'll start over again maybe, it really shouldn't be difficult to scan the next word and see if it still fits.

-=-=-
Check out my excellent homepage!
Sat, 26 Aug 2023, 11:24
Kuron
Staring at the image, it almost looks like the equivalent of a "Z Order" issue with sprites. Why is the big question.

Can you gain anything from this? Or this?

You will get it figured out. This shit isn't easy for the big names. Citizen just suspended sales of a line of smart watches because of some bugs that were not caught before the products shipped.
Sat, 26 Aug 2023, 15:23
spinal
Here is an attempt in blitz, it nearly works...

font.png




Weirdly it's cutting the word "sentence" in half...

I'm missing something simple, I know it.

|edit| Typo, found it.
wordWidth = wordWidth + fWidth(Asc(Mid$(Text$,t,1)) - 32)
should be
wordWidth = wordWidth + fWidth(Asc(Mid$(Text$,u,1)) - 32)

-=-=-
Check out my excellent homepage!
Sat, 26 Aug 2023, 16:09
Jayenkai
  --v


-=-=-
''Load, Next List!''
Sat, 26 Aug 2023, 16:12
spinal
OK, got the blitz version up to the same problem. I switched to blitz because uploading code to the arduino, then sending myself an sms message is a slow process, wheras hitting F5 is nice and fast.


What I WANT to happen, is that if a single word is too wide for the screen, print it anyway, but still word wrap any words that do fit...



-=-=-
Check out my excellent homepage!
Sun, 27 Aug 2023, 03:40
spinal
OK, got that working as far as I can tell. Now to re-arduino the code.





-=-=-
Check out my excellent homepage!
Sun, 27 Aug 2023, 07:01
Kuron
Congrats!!
Sun, 27 Aug 2023, 13:21
spinal
Close enough for now. Still not perfect.



-=-=-
Check out my excellent homepage!
Sun, 27 Aug 2023, 13:24
Jayenkai
Better, though.
Nice!
Sun, 27 Aug 2023, 13:43
Kuron
Indeed, much better!
Sun, 27 Aug 2023, 13:56
spinal
It idea is to let the first word go off the end, but any other words need to be wrapped. Doesn't seem to work on the last word for some reason. In that example anyway.

-=-=-
Check out my excellent homepage!
Mon, 28 Aug 2023, 15:47
spinal
For no real reason, I send the screen data out over serial to a python scrypt to save a gif...



-=-=-
Check out my excellent homepage!
Mon, 28 Aug 2023, 16:15
Jayenkai
Awesome!
Mon, 28 Aug 2023, 16:43
Kuron
WoohoO!!!
Thu, 31 Aug 2023, 17:39
Kuron
Any progress?
Fri, 01 Sep 2023, 01:55
spinal
Nah, too lazy
Mon, 04 Sep 2023, 15:32
spinal


-=-=-
Check out my excellent homepage!
Mon, 04 Sep 2023, 15:42
Kuron
Never bet against Spinal!
Mon, 04 Sep 2023, 16:36
Jayenkai
Looking great! Is it now running for extended periods, even with the notifications?

-=-=-
''Load, Next List!''
Tue, 05 Sep 2023, 00:33
spinal
Yep, runs well, I found that I need to keep the sleep time to half a second or less or else the milliseconds time goes a bit wonky.

-=-=-
Check out my excellent homepage!
Page : 1 2 3 4 5 6 7 8 9 Prev 10
Next