DevJav / best_friend_lamp_arduino

Best friend lamp project made with Arduino
15 stars 5 forks source link

Issues With Touch Sensor #2

Closed Josh029 closed 2 years ago

Josh029 commented 2 years ago

So, I've uploaded the code to ensure everything works before I wire it up. The only thing I changed was the pins for the touch sensor and the lights, which I remapped to pins one and two (the touch sensor being on D2). The neopixel works without issues but the sensor always records high, even when it's not plugged in. It loops a few times and then reboots; the entire process takes about 5 seconds. I'm really confused as to what to do about this and I was wondering if you could offer any assistance? This is my first big arduino project so I'm not entirely sure what I'm doing, to be honest.

Josh029 commented 2 years ago

Okay so I messed around with it a little bit and now I have an issue where the LEDS will only run through the RX pin no matter how I change the defined pins... Clueless as to what's going on here.

DevJav commented 2 years ago

Okay so I messed around with it a little bit and now I have an issue where the LEDS will only run through the RX pin no matter how I change the defined pins... Clueless as to what's going on here.

Now you mention this I think that having the leds connected to RX was one of the requisites of the library but I can't remember why. I will take a look and update the instructions.

Josh029 commented 2 years ago

Yeah they work perfectly through RX and I figured everything else out so I'm definitely not messing with it lol thank you for the help!

On Tue, Dec 28, 2021, 12:38 PM DevJav @.***> wrote:

Okay so I messed around with it a little bit and now I have an issue where the LEDS will only run through the RX pin no matter how I change the defined pins... Clueless as to what's going on here.

Now you mention this I think that having the leds connected to RX was one of the requisites of the library but I can't remember why. I will take a look and update the instructions.

— Reply to this email directly, view it on GitHub https://github.com/DevJav/best_friend_lamp_arduino/issues/2#issuecomment-1002212730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXCNSQEEOKMLQMBQAKMR6JDUTHYZBANCNFSM5K4MYT4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>