Shop OBEX P1 Docs P2 Docs Learn Events
FlexProp: a complete programming system for P2 (and P1) - Page 62 — Parallax Forums

FlexProp: a complete programming system for P2 (and P1)

1565758596062»

Comments

  • RaymanRayman Posts: 16,113
    edited 2026-02-25 02:16

    Thanks @ersmith

    Wonder if the new exp and log use Cordic…

    Oops you just said they do…

  • @ersmith said:

    saw mention of packed structs in Spin2….

    I think they work in C now, you have to put __attribute__((packed)) after the struct keyword. There are probably a lot of bugs lurking, though!

    That's nice. I remember I struggeled a lot last time I needed packed structs for my EtherCat experiments. I'll need some UDP comunications for a new project, soon. I'll test it.

  • ersmithersmith Posts: 6,270

    @Rayman said:
    Thanks @ersmith

    Wonder if the new exp and log use Cordic…

    Oops you just said they do…

    Right, exp and log use cordic on P2 and the ROM tables on P1.

  • Hi,
    just a suggestion: Would it be possible to have the builtin ANSI Terminal support line lengths as broad as it's window?
    I think it is limited to 80 chars or so.
    Cheers Christof

  • ersmithersmith Posts: 6,270

    @"Christof Eb." said:
    Hi,
    just a suggestion: Would it be possible to have the builtin ANSI Terminal support line lengths as broad as it's window?
    I think it is limited to 80 chars or so.
    Cheers Christof

    I think the problem is that it's stuck to whatever its original dimensions are, and it always opens at 80 chars wide. I'll have to look to see if that can be changed at runtime, or if not maybe we can add a configuration option to have a different default size. Thanks for the suggestion.

Sign In or Register to comment.