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,073
    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.

  • @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.

Sign In or Register to comment.