Can I use the PWM pins as regular digital input/output pins?How can the Arduino Uno support up to 12 servos if it only has 6 digital PWM pins?Can tx and rx pins on the uno be used like regular digital pins?Difference between PWM and regular output port for servos?Arduino Digital Input Causing Output ProblemsWhy does a Piezo Buzzer not require a PWM digital pin (Gallileo Gen2)?Can I use the same Data Registry for both input and output pins?Which input pins can I use on the ESP8266 NodeMCUAdditional Digital Input PinsCan you use digital pins as PWM output?For Arduino Uno it is possible to use the digital pins with PWM to read analog data, is this also possible with the Wemos D1 Mini?

Why is a blank required between "[[" and "-e xxx" in ksh?

Are there any vegetarian astronauts?

Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?

How should I behave to assure my friends that I am not after their money?

How to convert object fill in to fine lines?

Why is Bézout's identity considered an identity?

How fast can a ship with rotating habitats be accelerated?

When to apply Lorentz transformations and laws of time dilations and length contractions: explanations

Quacks of Quedlingburg Crow Skull Set 2 Keep Drawing

I played my first (rapid) tournament recently and I wanted to calculate my ELO

Can I travel from Germany to England alone as an unaccompanied minor?

Children's short story about material that accelerates away from gravity

Could Sauron have read Tom Bombadil's mind if Tom had held the Palantir?

How can I create ribbons like these in Microsoft word 2010?

Does the UK have a written constitution?

A player is constantly pestering me about rules, what do I do as a DM?

Golf the smallest circle!

Procedurally generate regions on island

Should I include salary information on my CV?

Analog is Obtuse!

Why is the divergence of this series apparently not predicted by the Monotonic Sequence Theorem?

What is the olden name for sideburns?

In native German words, is Q always followed by U, as in English?

How do I spend money in Sweden and Denmark?



Can I use the PWM pins as regular digital input/output pins?


How can the Arduino Uno support up to 12 servos if it only has 6 digital PWM pins?Can tx and rx pins on the uno be used like regular digital pins?Difference between PWM and regular output port for servos?Arduino Digital Input Causing Output ProblemsWhy does a Piezo Buzzer not require a PWM digital pin (Gallileo Gen2)?Can I use the same Data Registry for both input and output pins?Which input pins can I use on the ESP8266 NodeMCUAdditional Digital Input PinsCan you use digital pins as PWM output?For Arduino Uno it is possible to use the digital pins with PWM to read analog data, is this also possible with the Wemos D1 Mini?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.










share|improve this question







New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 2





    have you tried?

    – jsotola
    8 hours ago

















1















In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.










share|improve this question







New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 2





    have you tried?

    – jsotola
    8 hours ago













1












1








1








In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.










share|improve this question







New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.







arduino-uno pins pwm input






share|improve this question







New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question







New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 8 hours ago









Terry1612Terry1612

61 bronze badge




61 bronze badge




New contributor



Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Terry1612 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









  • 2





    have you tried?

    – jsotola
    8 hours ago












  • 2





    have you tried?

    – jsotola
    8 hours ago







2




2





have you tried?

– jsotola
8 hours ago





have you tried?

– jsotola
8 hours ago










1 Answer
1






active

oldest

votes


















3














Yes you can use them as ordinary digital io pins. PWM is essentially a normal digital output pin that is repeatedly turned on and off at a high rate.



The magic is that the turning off and on is done in the hardware according to the duty cycle (I.e. there is no need for software to perform the on/off operations) . This is why only some pins can do h/w PWM, because the PWM hardware is not added on to all pins.



If you are not using the pin for PWM, it is available for you to use as required.






share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("schematics", function ()
    StackExchange.schematics.init();
    );
    , "cicuitlab");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "540"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Terry1612 is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2farduino.stackexchange.com%2fquestions%2f66538%2fcan-i-use-the-pwm-pins-as-regular-digital-input-output-pins%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Yes you can use them as ordinary digital io pins. PWM is essentially a normal digital output pin that is repeatedly turned on and off at a high rate.



    The magic is that the turning off and on is done in the hardware according to the duty cycle (I.e. there is no need for software to perform the on/off operations) . This is why only some pins can do h/w PWM, because the PWM hardware is not added on to all pins.



    If you are not using the pin for PWM, it is available for you to use as required.






    share|improve this answer



























      3














      Yes you can use them as ordinary digital io pins. PWM is essentially a normal digital output pin that is repeatedly turned on and off at a high rate.



      The magic is that the turning off and on is done in the hardware according to the duty cycle (I.e. there is no need for software to perform the on/off operations) . This is why only some pins can do h/w PWM, because the PWM hardware is not added on to all pins.



      If you are not using the pin for PWM, it is available for you to use as required.






      share|improve this answer

























        3












        3








        3







        Yes you can use them as ordinary digital io pins. PWM is essentially a normal digital output pin that is repeatedly turned on and off at a high rate.



        The magic is that the turning off and on is done in the hardware according to the duty cycle (I.e. there is no need for software to perform the on/off operations) . This is why only some pins can do h/w PWM, because the PWM hardware is not added on to all pins.



        If you are not using the pin for PWM, it is available for you to use as required.






        share|improve this answer













        Yes you can use them as ordinary digital io pins. PWM is essentially a normal digital output pin that is repeatedly turned on and off at a high rate.



        The magic is that the turning off and on is done in the hardware according to the duty cycle (I.e. there is no need for software to perform the on/off operations) . This is why only some pins can do h/w PWM, because the PWM hardware is not added on to all pins.



        If you are not using the pin for PWM, it is available for you to use as required.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 6 hours ago









        GMcGMc

        2227 bronze badges




        2227 bronze badges




















            Terry1612 is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Terry1612 is a new contributor. Be nice, and check out our Code of Conduct.












            Terry1612 is a new contributor. Be nice, and check out our Code of Conduct.











            Terry1612 is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Arduino Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2farduino.stackexchange.com%2fquestions%2f66538%2fcan-i-use-the-pwm-pins-as-regular-digital-input-output-pins%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її