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. Replies
    2
    Views
    286

    Thanks ecurtz. Wow, that library looks amazing! I...

    Thanks ecurtz. Wow, that library looks amazing! I have a spare T4 and a T4.1, but actually I've just received 10 ESP32 chips and this looks like a perfect project for that. The ESP32 has built-in...
  2. Replies
    2
    Views
    286

    LED display - colors

    Hi all,

    Sorry, this isn't a Teensy question, but I'm hoping someone here might be able to help.

    I've put together some LED panels made up of SMD2121 LEDs and have a small HC-1w Wifi controller...
  3. Stage and display list style graphics library

    Hi all,

    Just thought I'd update you on recent progress on μac/mac (microcontroller app creator). It started off as a low level sprite blitting and vector shape drawing library using a framebuffer....
  4. Replies
    1
    Views
    159

    False alarm. This actually works. The error was...

    False alarm. This actually works. The error was me spelling class with a capital C in one place:


    template <Class U> // Wrong
    template <class U> // Correct
  5. Replies
    1
    Views
    159

    Function and class templates

    Hi all,

    I have a class MyClass with templated property x.
    I want to use the class with float properties until the end, when I want to get a copy of it with uint16_t properties.
    How can I achieve...
  6. 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.
  7. 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...
  8. 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...
  9. c++ static member initialization (warning, hardcore :) )

    Hi all,

    I have these defs:


    enum class GUIIconType {
    none = 0,
    check,
    checkCircle,
    close,
  10. 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?
  11. Thanks Luni. VisualTeensy is awesome :)

    Thanks Luni. VisualTeensy is awesome :)
  12. 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...
  13. Replies
    5
    Views
    1,204

    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...
  14. Thanks for that. I'll do some benchmarking and...

    Thanks for that. I'll do some benchmarking and see what happens with various options :)
  15. 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...
  16. Replies
    47
    Views
    7,416

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

    Agreed. Fantastic. I'm not always commenting, but I'm following this thread with amazement!
  17. 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...
  18. Replies
    47
    Views
    7,416

    Incredible work. Very impressive!

    Incredible work. Very impressive!
  19. 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...
  20. Woohoo. Great work!

    Woohoo. Great work!
  21. 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 :)
  22. Oh, great, sorry. catching up.

    Oh, great, sorry. catching up.
  23. 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...
  24. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    1,010

    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...
  25. Replies
    47
    Views
    7,416

    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 :)
  26. 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...
  27. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    1,010

    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...
  28. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    1,010

    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
  29. Thread: Preview

    by Projectitis
    Replies
    5
    Views
    1,010

    Preview

    Recognise anyone :P
    18990
  30. Replies
    5
    Views
    840

    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...
  31. Replies
    5
    Views
    840

    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...
  32. Replies
    2
    Views
    536

    Much appreciated!

    Much appreciated!
  33. Replies
    2
    Views
    536

    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...
  34. Replies
    5
    Views
    840

    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...
  35. 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...
  36. Replies
    5
    Views
    840

    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...
  37. 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.
  38. Replies
    6
    Views
    1,847

    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...
  39. Replies
    6
    Views
    1,847

    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...
  40. Replies
    6
    Views
    1,847

    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...
  41. Replies
    43
    Views
    4,295

    @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...
  42. Replies
    6
    Views
    1,847

    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...
  43. Replies
    8
    Views
    1,139

    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...
  44. Replies
    8
    Views
    1,139

    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) |...
  45. Replies
    8
    Views
    1,139

    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...
  46. 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!
  47. 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
  48. 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...
  49. 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
  50. 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...
Results 1 to 50 of 183
Page 1 of 4 1 2 3 4