Re: [PIC] Learning C
Jason White <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <CAOFvGD6f9N8P7wp=m20yjZUv0_pbuDQQ5b0jB9e4njEuWNav9w@mail.gmail.com> |
I encourage you to #include <stdint.h> for fixed sized types like uint8_t (also stdbool.h for boolean types) I often use websites like https://www.onlinegdb.com/ (use an ad-blocker) to test small functions. Useful for debugging control flow. No need to install a compiler or anything. Pointers, header files, and type inference tripped me up when I was learning. I found small projects like writing a menu system for a 16x2 character LCD to be very educational when I was first starting out. (Books, videos, and online courses are fine, but embedded development in C is different than a C program running on a PC) Regards, -Jason White