upvote
> this course was hands down the most hardcore thing I ever did

Recurring theme here on HN. It's as if programmers are scared to directly touch hardware.

I remember a thread where I explained how sending infrared remote codes worked (RC5 iirc). It was something like "set a bit on some IO port, waste a specific amount of CPU cycles, reset that IO port bit, waste some more CPU cycles. Repeat a fixed # of times, repeat that for # of bits to send".

One poster kept naggin it wasn't that simple: the bits had to be modulated on a carrier frequency. I countered "yes, high-times + low-times + CPU frequency + a # of pulses = close enough to carrier frequency. That's really all there is to it". Poster somehow couldn't believe it / wrap their head around it.

Personal view: not scary! Follow some demo project, switch your LED on, switch it off, and before you know it you have your blinkenlight. Go from there.

reply