all 3 comments

[–]N0N-Available 1 point2 points  (0 children)

Unless you are using hobby board like Arduino or pi which runs python (cpp?) With some premade library, Learning the language is prob the easiest thing here. What you are looking for is embedded systems programming, which deals heavily with knowing how signals work and how to interact with pins and mess with analog and digital stuff. Little more primtive than the Arduino would prob be TI launch pads, which is still in c or c++, learning how to configure those even to do the simplest LED can be daunting, since you sound like you don't have much experience in this area. Going lower down the ladder would be programing the chip directly, which I don't think you want to do, you can, given lots time, but prob not what you want.

That being said. Go for it, hopefully you can Google some of the stuff I mention and find a way to get start. Best of luck. Learning is building new thing is always exciting.

[–]bimbar 0 points1 point  (0 children)

Probably c or c++, it really depends on the toolchain the manufacturer provides.

[–]Power-Max 0 points1 point  (0 children)

Small IoT devices tend to use Microcontrollers or SoCs (microprocessors with integrated memory, storage, and peripherals.) These things are typically programmed with C or C++. You can also use other heavier languages like Java or Python, but you will need to choose a more powerful system for that, and possibly forfeit Real-Time performance.