Code Monkey home page Code Monkey logo

arduino's Introduction

arduino's People

Contributors

atmelino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arduino's Issues

30Hz

Is 30Hz supported? If yes, how accurate is it?

Thanks,

Good job, but how to speed up execution times?

Hi,
I want to thank you for the work you did.
I noticed that the "SetPinFrequencySafe (TX_PIN, frequency)" function takes 88 microseconds to run, while the "pwmWrite (TX_PIN, 127)" function takes 44 microseconds.
Is there a way to speed up these execution times?

Esposito Vittorio

8Mhz Atmel 328 timing issue

Hi,
I am running a Atmel328 on 8Mhz and am using the SetPinFrequencySafe(pin,freq) function.

It shows some quite interesting behaviour.
I start with freq = 100, it outputs PWM 100Hz as wished,
than I read out / send the freq variable and that one shows 50!
Excactly half!
But since the program runs as loop I would expect the frequency to drop, but it does not ?! So I wonder if the 8Mhz mode may cause some trouble or if i have a major bug somewhere?

For my application I just multiply every reading from the variable by two. but it feels really strange and wrong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.