what can i do with this new problem.
if you want to make GOIO HIGH OR LOW.
it can not work
it always give some power and make your pin HIGH.
even if want any led blink to any pin it does not work...
digitalWrite Does Not Work...
Do you want help or just sympathy?
If just sympathy. Gee, that is too bad. I feel for you. Have a cup of tea, hopefully that will make you feel better.
If you want help, you will need to provide information that we can work with.
Post your code. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Please post a schematic of your wiring. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.
Did you set the pinMode to OUTPUT?
Your statement is in error. digitalWrite does work. So either you have
- a bad board
- a wiring error
- code missing or incorrect statement.
As @groundFungus stated, posting your code is probably the fastest way to get forum help.
Note: I have been is situations where I had a code error I could not find. At that time it seemed like there was a MCU or compiler error. However logic told me the issue was with me and not the hardware or compiler. This mindset helped me go ahead and find the error. Else if you allow yourself to believe there is a MCU or compiler error you won't look as hard for a solution.
John
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.