Why should the compiler issue a warning about something that is perfectly valid, legal syntax? Should it then also issue a warning on "while (1);" ?The compiler emits warnings for similar common mistakes, even if they're legal. For example, "if (x = y)" will cause GCC to warn about using = instead of == (and it says how to make it clear that it's intentional to suppress the warning).
The onus is entirely on the programmer to learn the language syntax, as it should be.
REG_PIOC_DIFSR=0x01800000; //ebounce filter is enabled
REG_PIOC_SCDR=1600; //set debounce time
REG_PIOC_PUER=0x07800000; //pins 6,7 are pulled up
attachInterrupt(7, ISRAF, FALLING);
attachInterrupt(6, ISRAB, FALLING);
Googling "arduino amazon echo" reveals dozens of projects.I know, but as this is a forum related to arduino, and i wasn't looking for a project but for some guidance, i thought it would be a great idea to come to the core people.
If you want a simple rugged pre-made ready-to-go RTD to 4-20mA converter, then I suggest the Burns Engineer TL21. Been around a lllooonnnggg time...for a reason. Simple robust. Works with pt100 RTDs.¡Many thanks!
Burns TL21 spec sheet.
I found a couple on ebay.com for 30-40USD.