-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the Timer Counter Block of the Arduino Due as a hardware counter #16
Conversation
I wouldn't change the Main What I suggest:
|
I can perfectly understand that you want to keep the API of DueCounter clean. I'm not a C or C++ expert (I'm more the Python guy), so I cannot say how this is done best. Also @colombod's comment sounds sensible to me. BTW: In gist:5743872 I show how I'm using the Timer Counter as a hardware counter already. It needs the modified library version of this pull request. It counts using T0, ..., T5 and uses T8 as a timer to read out the counter values. |
Here is what I pretend to do: Milestone V2.0 What I suggest, is that we cancell this pull, and start working on the V2.0 Branch, so that until we are not REALLY finished with modifications, the |
I just think that having a good abstraction that is going to be implemented for specific platforms can be helpful and more towards the feature of 1.5.x libraries. Still quite annoyed by the fact that libraries have to be installed via the arduino IDE. to be honest the IDE should be integrated with git to pull libraries straight from there into proper locations. Anyway .. the point is that if we agree on such a more object oriented design with a good eye on SOLID principles it would make life a lot easier for adopters. Specially people like me with not so great experience in low level programming co close to the metal. What do you guys think ? Should we think of moving towards a new release and put in place all this great suggestions and also the new library layout thing? (will it work with current IDE?) Agree with you guys, totally. Just can we avoid having DUE in the name and maybe use it as part of namespace naming? Are you familiar with Git-Flow? I am using SourceTree as client for GIT repositories and it supports git-flow, sounds quite a great process to handle releases/patching steps |
@colombod You can also edit your comments. So just to add one more sentence, you don't need to post a new one. 😄 It's the first time I hear about the SOLID principles :) I'm using the command line @ivanseidel Sure, we can close this pull request now and work on the development branch for the upcoming release (I would use |
I have opened a new Issue to discuss about this. I'm closing this pull. This will be used on the new version, but as a new Class to keep organized. |
Adding support to use the Timer Counter Block of the Arduino Due as a hardware counter with the TCLKx pins as clock input for the counters.
This pull request is not finished in the way that you should pull it right away, I just created it to move our discussion from the specific commit to this pull request because the commit&comment might get lost as I'll continuously rebase the branch on the current upstream master (thus auto-creating new commits). So @ivanseidel, please post your comment here again.