I have a board setup with a switch and a temperature sensor. When I try to combine the two sketches I get multiple errors.
Can someone take a quick look at combining the two sketches?
@Vuinne-Ryvmar You seem to be confused about what this forum is. Maybe you just ended up here on a random Google search?
But in our case on an Arduino, D3 is literally the name for one of the metal legs coming off of the little controller, and we call it a pin sometimes. @tbowmo was looking for how to send the command to turn the power on or off to that part of the board, not a code to enable connecting up a controller to their phone.
I see that a D3 game controller is a thing, but I doubt you will have any luck getting help with that here. It's not what this site is about.
This is what we work with:
@jaydenlord Probably you do. If you leave the EN floating, electrical noise could cause it to enable or disable randomly.
Some enable pin require a HIGH, some LOW. Connect it to VCC to see if it works more consistently. If it doesn't detect, connect it to GND.
If one of these works, then the part wasn't designed to be in a default state of enable.
Let us know your results (I found this video
OSD
@Eme
Thank you for coming back to report how you solved your problem! Your comments will help other people.
I am a big fan of Frugal Tech and I think MySensors is great for that.
Alas, MySensors is not well supported anymore. Right now I'm having problems linking to the home page It's people like you and me that will keep MySensors going.
Thanks for your help.
OSD
@tnick I know this is an old post, but if it helps you - I've created support for STM32 based on latest STM32duino here. It's currently made to be backward compatible for the existing STM32F1 support, which is what you are struggling. But with a small change you can use the new STM32 HAL support. Let me know if you are interested to give it a try.
The longer term plan is to remove the existing (old) STM32F1 support in favor of the new and more general STM32 support. (If @mfalkvidd agrees ;-))