Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Projectitis

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Haha! That is true. But I hate seeing that...

    Haha! That is true. But I hate seeing that counter increase :) it's over 10% now - arrrgh :D
    I enjoy a challenge anyway.
  2. So if I pack my data: 200 icons with 2 parts...

    So if I pack my data:

    200 icons with 2 parts on average each
    1 byte overhead for each icon (len)
    Each part 4 bytes long

    I'll end up with around 1.8k of data. this is the minimum I can hope...
  3. Awesome! On both counts. Vector solves my problem...

    Awesome! On both counts. Vector solves my problem here, as long as the overhead of adding the vector library isnít bigger than assigning fixed length arrays ;) Will check tonight. There will be...
  4. c++ static member initialization (warning, hardcore :) )

    Hi all,

    I have these defs:


    enum class GUIIconType {
    none = 0,
    check,
    checkCircle,
    close,
  5. I use VisualTeensy for developing my libraries,...

    I use VisualTeensy for developing my libraries, so I actually *donít* want them copied to the lib folder :) If this feature is added, could it be optional?
  6. Thanks Luni. VisualTeensy is awesome :)

    Thanks Luni. VisualTeensy is awesome :)
  7. I haven't specifically used the RA8875 libraries,...

    I haven't specifically used the RA8875 libraries, but I believe they do support hardware scrolling.
    Just looking at sumotoy's source code, it looks like you would:

    1) Set the area to scroll using...
  8. Replies
    5
    Views
    1,083

    21624 I know it might not look like much, but...

    21624

    I know it might not look like much, but it's the start of AGG running on Teensy. So excited right now!
    I'm running it here on T3.6 with ILI9341 at 4x pixel scaling (for a smaller...
  9. Thanks for that. I'll do some benchmarking and...

    Thanks for that. I'll do some benchmarking and see what happens with various options :)
  10. Sorry to bring up an old thread! This is related,...

    Sorry to bring up an old thread! This is related, though -

    Do you know if Teensy 3.6 has fast reciprocal? I'm doing alpha compositing which requires a divide. Not sure if the compiler would...
  11. Replies
    47
    Views
    5,917

    Agreed. Fantastic. I'm not always commenting, but...

    Agreed. Fantastic. I'm not always commenting, but I'm following this thread with amazement!
  12. Is writeData16_last during SPI required?

    Hi all,

    I'm drawing arbitrary rectangles pixels to a display using SPI (just the part of the display that is updated). The position and size of the rect could be anything.
    From looking at...
  13. Replies
    47
    Views
    5,917

    Incredible work. Very impressive!

    Incredible work. Very impressive!
  14. Some great points. I'm a big fan of abstracting...

    Some great points. I'm a big fan of abstracting the hardware layer so that the developer can just use the colour set (s)he is used to. And yep, it means porting to different displays does not...
  15. Woohoo. Great work!

    Woohoo. Great work!
  16. Not directly related to your discussion here, but...

    Not directly related to your discussion here, but I have a 5" 480x272 RA8875 display turning up soon. 4-wire SPI. Can't wait :)
  17. Oh, great, sorry. catching up.

    Oh, great, sorry. catching up.
  18. I have an ILI9341_fonts equivalent called...

    I have an ILI9341_fonts equivalent called ďPackedBDFĒ that attempts to remove itself from specific displays. Itís the exact format as the original font, but Iíve added support for smooth fonts...
  19. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    821

    Hmm. I just learned that the Tintin copyright...

    Hmm. I just learned that the Tintin copyright holders are extremely aggressive with their cease and desist/take downs of anything unauthorised to do with Tintin. Even fan games :( That means I’ll...
  20. Replies
    47
    Views
    5,917

    Super impressive. I’ll be keeping an eye open for...

    Super impressive. I’ll be keeping an eye open for that lib when it’s released :)
  21. For Color defines etc feel free to use any part...

    For Color defines etc feel free to use any part of my code that might help you. I’ve done a lot of work on displays and graphics library stuff (most of it not on github yet). Colours based on...
  22. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    821

    Thanks! Yes, they're mine. I'm just a dabbler in...

    Thanks! Yes, they're mine. I'm just a dabbler in pixel art as well (painting and sketching is more my thing).
    I'm creating an adventure game engine on Teensy, and the aim is that this is the test...
  23. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    821

    Hehe, yeah they are more minor characters, and...

    Hehe, yeah they are more minor characters, and pretty hard to pick out when they're less than 16px tall :) - Prof. Calculus, and Allan (a bad guy).

    18999
  24. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    821

    Preview

    Recognise anyone :P
    18990
  25. Replies
    5
    Views
    642

    I didn't realise that it wouldn't have graphic...

    I didn't realise that it wouldn't have graphic RAM! I just assumed all displays would have that and would be able to 'remember' the last graphic state at the very least. I have 7 different displays...
  26. Replies
    5
    Views
    642

    I've ended up buying a 5" display from a TomTom...

    I've ended up buying a 5" display from a TomTom XXL 550 (display model LMS500HF05-007). The TomTom XXL 550 is an outdated GPS unit that had a large screen (100mm x 75mm approx. viewable area) albeit...
  27. Replies
    2
    Views
    406

    Much appreciated!

    Much appreciated!
  28. Replies
    2
    Views
    406

    Type of connector

    Hi all,

    Below is a photo of a replacement Nintendo Switch joypad. You can see it has a sort of flat connector with 5 wires.
    Does anyone know if there is a socket available that will take a ribbon...
  29. Replies
    5
    Views
    642

    I found this enormous 5.7" 320x240 display by...

    I found this enormous 5.7" 320x240 display by winstar. It has a visual area of 118 x 89mm. Of course it draws around 500mA as compared to a 3.2" display of maybe 100mA. It seems 5.7" is reasonably...
  30. Good luck. From memory it was really picky about...

    Good luck. From memory it was really picky about he module you were trying to play. It happened to work well with the module I used for testing, but not others :( More work required. I suggest using...
  31. Replies
    5
    Views
    642

    Largest 320x240 TFT display

    Hi all,

    I have a fairly large 320x240 TFT display (see photo) of 82mm diagonal (3.2 inches). It's this unit from buydisplay.com.
    Does anyone know of any larger 320x240 TFT displays around? I'm...
  32. Sorry about the delay, Alain. It's a TDA1308...

    Sorry about the delay, Alain. It's a TDA1308 -based board I got off AliExpress for about $1.
  33. Replies
    6
    Views
    1,501

    Hi Richard - Google is your friend...

    Hi Richard - Google is your friend :)

    Basically, it can drive up to 26,000 LEDs in full-colour. It supports slideshow-style images only (no video, but does support animated GIF and SWF - i haven't...
  34. Replies
    6
    Views
    1,501

    Hi everyone, I ended up purchasing 6 LED...

    Hi everyone,

    I ended up purchasing 6 LED displays at 64x32 pixels in size, which I'm connecting in a 3x2 matrix for a total size of 128x96 pixels. Each pixel is 5 x 5mm square (P5) and the size of...
  35. Replies
    6
    Views
    1,501

    I guess I could find some very low power RGB LEDs...

    I guess I could find some very low power RGB LEDs and wire up each pixel individually. However I think I'll be dead before completing all 100,000 pixels :rolleyes:
    At an estimated ~15 minutes a...
  36. Replies
    43
    Views
    3,396

    @luke.saber, if bit order is the issue take a...

    @luke.saber, if bit order is the issue take a look at these bit-hacks for reversing bit order:
    https://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious

    I also have a python script...
  37. Replies
    6
    Views
    1,501

    Large indoor pixel-art display frame

    Hi all,

    Just playing around with an idea for an indoor art piece. I'm a fan of 8-bit art (who isn't ;) ), and instead of printing and hanging on the wall, I'v been toying around with a large...
  38. Replies
    8
    Views
    868

    Wow, thank you everyone! Tactif CIE - thanks for...

    Wow, thank you everyone!
    Tactif CIE - thanks for the info on pragmas.
    Nominal Animal - once again, right on the mark with the tip on array addressing.
    MichaelMeissner - Thanks for the...
  39. Replies
    8
    Views
    868

    Thank you :) Do you know if it is possible to do...

    Thank you :)
    Do you know if it is possible to do this at the code level (not at compiler)? It would be great if there was something like:


    c = (*p++ << 14) | ((*p << 6) & 0b0011100000000000) |...
  40. Replies
    8
    Views
    868

    Sequence point compiler error

    Hi all,

    I have the a few calculations like the following:


    c = (*p++ << 14) | ((*p << 6) & 0b0011100000000000) | ((*p++ << 7) & 0b0000011110000000) | ((*p >> 1) & 0b0000000001111111);

    I get...
  41. By all means. A little math doesn't scare me,...

    By all means. A little math doesn't scare me, and, yes, it's very interesting!
  42. Have bookmarked the link. Very useful. Just did...

    Have bookmarked the link. Very useful.
    Just did a bit of testing, and in most of the cases I'm interested in the approximation is dead-on, or only 1 out at most. This is great.

    Example:
    16511
  43. That is fantastic :) The standard mathematical...

    That is fantastic :)
    The standard mathematical linear interpolation equations are well known, but this is the first time I've run into these approximations, so thank you!
    I'll take a look when I...
  44. Just a visual to show the 'accuracy' of the...

    Just a visual to show the 'accuracy' of the current approximation.
    This example changes a 6-bit number to 3-bits and back again.
    16501
  45. Yes, a LUT would be one solution for sure :) We...

    Yes, a LUT would be one solution for sure :)
    We would actually only need a 32 bytes LUT to go from 5-bit to 8-bit (up scaling).

    But I disagree - it's not just a special case. It is fast linear...
  46. Yes, I understand completely what shifting does...

    Yes, I understand completely what shifting does :) That's not the issue.

    I'm trying to find a 'fast' way to increase the number of bits which results in a linear interpolation.
    So far the formula...
  47. This is better for scaling up, but still not...

    This is better for scaling up, but still not ideal -



    // b = bits to shift
    // n = original number
    uint8_m = (n==0)?0:((n+1) << b) - 1;
  48. Fast changing range or bits of a number (e.g. 0-31 to 0-255)

    Hi all,

    EDIT: Nope this doesn't work for all ranges. Works for 4-bit to 2-bit back to 4-bit, and works for 8-bit to 4-bit and back to 8-bit, but not others.

    Just putting this here for future...
  49. Replies
    24
    Views
    2,630

    Packed BDF (ILI9341_t3_font_t) format...

    Packed BDF (ILI9341_t3_font_t) format specification, instructions and scripts for creating anti-aliased (and 1bpp) fonts here:
    https://github.com/projectitis/packedbdf
  50. Aaaand have improved the original font rendering...

    Aaaand have improved the original font rendering speed (1bpp, non anti-aliased fonts) of ILI9341_t3:
    original 1bpp fonts 14971
    improved 1bpp fonts 11360 (~25% faster)
    (Compare to new anti-alias...
Results 1 to 50 of 178
Page 1 of 4 1 2 3 4