Created Mon, 28 Jul 2014 09:18:34 +0000 by OldBikerPete
Mon, 28 Jul 2014 09:18:34 +0000
Haven't posted before, so I thought I'd start with a positive note.
Here's an Arduino MPIDE library for PIC32 submitted to this forum for beta-testing.
It has the same functionality as FlexiTime2 but for three 16-bit timers.
(Timers 3, 4 and 5), each individually configured, started and stopped.
The example 'FlashLED' works but I haven't tested it further and invite you all to do so.
Wed, 06 Aug 2014 05:39:30 +0000
Cool, thanks for posting. Do you have it on github or the like?
I added it to my poorly tracked library list here:
http://quick240.com/quicki/chipkit:libraries
but the link points to this thread.
Jacob
Wed, 06 Aug 2014 06:36:46 +0000
Cool, thanks for posting. Do you have it on github or the like? I added it to my poorly tracked library list here: http://quick240.com/quicki/chipkit:libraries but the link points to this thread. Jacob
No, I don't have it anywhere other than here. I wouldn't know how to put it on ?GITHUB? I've been using it and I think I will post an updated version with a couple of extra function calls, a manual :D and renamed functions. The java engine that drives MPIDE seems to object to the names originally used. I've also written and been using a library to make use of the external interrupts in the same way, so I'll post that, too. Peter.
PS: I've put the two libraries mentioned onto my web server. They can be accessed via the URL below.
[url]http://CoffeyImaging.bpa.nu/PIC32MX_Arduino/Libraries.htm[/url]
Should I put the link anywhere else?
Wed, 06 Aug 2014 20:58:53 +0000
No, I don't have it anywhere other than here. I wouldn't know how to put it on ?GITHUB?
Here is one article on how to do this, I think Mac based.
http://lifehacker.com/5983680/how-the-heck-do-i-use-github
PS: I've put the two libraries mentioned onto my web server. They can be accessed via the URL below. [url]http://CoffeyImaging.bpa.nu/PIC32MX_Arduino/Libraries.htm[/url] Should I put the link anywhere else?
I don't know, but one issue that comes up often is what 3rd party libraries are out there. The link where I added it is a place that I try to track them, but its not everything.
I actually have and idea to create a chipKIT-3rdPartyLibrary account on github and use it to try make forks off all known chipKIT-3rdPartyLibraries. That could be maintained by the community, but it may not be good for non git libs.
Jacob
Thu, 07 Aug 2014 00:22:15 +0000
Here is one article on how to do this, I think Mac based. http://lifehacker.com/5983680/how-the-heck-do-i-use-github I don't know, but one issue that comes up often is what 3rd party libraries are out there. The link where I added it is a place that I try to track them, but its not everything. I actually have and idea to create a chipKIT-3rdPartyLibrary account on github and use it to try make forks off all known chipKIT-3rdPartyLibraries. That could be maintained by the community, but it may not be good for non git libs. Jacob
I created an account on github last night. I couldn't see how to upload a zip file and I'm not interested in posting raw text.
I would have thought that the ideal place for a collection of libraries is a 'sticky' at the head of the 'Libraries' forum on this board. The head post in that 'sticky' would contain URL's and descriptions of libraries. Contributors would post URL's and descriptions as new posts in that topic. The admin of the 'sticky' would copy said info. into the head post: Not a lot of work for the admin and an easy find for people looking.
Peter.
Fri, 08 Aug 2014 19:09:04 +0000
Pete,
If your have not used git, then you need to learn to use it first.
Here are a couple of good links:
http://tom.preston-werner.com/2009/05/19/the-git-parable.html
http://git-scm.com/book/en/Getting-Started-Git-Basics
I use Windows and TortoiseGIT
Jacob
Mon, 29 Sep 2014 10:47:01 +0000
After having used the two libraries for the purpose for which I wrote them, finding bugs and functional lacks that needed fixing, new versions of the libraries: V:1.0.1 for the external interrupts library and V:1.2.0 for the flexible timer library are available from my web server at: [url]http://CoffeyImaging.bpa.nu/PIC32MX_Arduino/Libraries.htm[/url]
The relatively small sketch I wrote to use these libraries illustrates their use, so I am attaching it here. The program attempts to maintain the output of an alternator at 50Hz by controlling its RPM by using a stepper motor to control the ratio of a continuously variable transmission (CVT) which drives the alternator from a diesel engine.
[attachment=0]AlternatorCVTController.cpp[/attachment]
Wed, 01 Oct 2014 19:16:08 +0000
Here's the git cheatsheet that I use(Ubuntu 10.10):
Do one-time when git is installed for the first time
----------------------------------------------------
$ git config --global user.name "Your Name Comes Here"
$ git config --global user.email you@yourdomain.example.com
Create a new local and remote repository
----------------------------------------
Execute from the directory containing your source files
$ git init creates a subdirectory and builds repository in it
$ git add . add all files to repository
$ git status verify staged files
$ git commit commit staged files
$ git remote add origin https://github.com/your-user-name/remote-repository-name create remote repository
$ git push -u origin master upload to remote repository
Update an existing repository
-----------------------------
Execute from directory containing your source files
$ git add file1 file2 file3 ... add new or modified files
$ git status verify files were added
$ git commit commit to local repository
$ git push origin master push to remote repository
your-user-name
your-git-password
Additional Commands
-------------------
$ git ls-files list all files in the repository
$ git rm filename remove a file from the repository
(Not yet tested on my Ubuntu 14.04LTS 64bit system)
James
Sat, 10 Jan 2015 00:27:12 +0000
A new version of the FlextimeP32 library - Version 1.3.0 - has been added to my web server. It has added functionality to allow the running timer register to be read and also to allow the prescaling divider to be explicityly set to values other than the default.
[url]http://CoffeyImaging.bpa.nu/PIC32MX_Arduino/Libraries.htm[/url]
A few hours after this post, I realised that I had not set the permissions on these files to allow public access. A subsequent look at my web server's error logs revealed that this had happened on quite a few prior occasions. My bad. To those who have tried to download these offerings and failed because of my bumbling, I sincerely apologise. I offer as penance that I have written a cron script which will run hourly to set the correct permissions in spite of my absent-mindedness.
Mon, 13 Apr 2015 02:56:15 +0000
A new version of the FlextimeP32 library - Version 1.3.0 - has been added to my web server. It has added functionality to allow the running timer register to be read and also to allow the prescaling divider to be explicityly set to values other than the default. [url]http://CoffeyImaging.bpa.nu/PIC32MX_Arduino/Libraries.htm[/url] A few hours after this post, I realised that I had not set the permissions on these files to allow public access. A subsequent look at my web server's error logs revealed that this had happened on quite a few prior occasions. My bad. To those who have tried to download these offerings and failed because of my bumbling, I sincerely apologise. I offer as penance that I have written a cron script which will run hourly to set the correct permissions in spite of my absent-mindedness.
Yet another version with more functionality and prescaler codes fixed - Version 1.4.1 is available now.
Wed, 29 Apr 2015 07:40:13 +0000
hi all.i want to ask you.do you know specification of timers chipkit uno32? thanks
Wed, 29 Apr 2015 23:30:08 +0000
hi all.i want to ask you.do you know specification of timers chipkit uno32? thanks
You know, you might try doing ay least a little bit of research yourself before asking on a forum such as this. Specifications of the chip are available from the manufacturer's HUGE web site.
[url]http://www.microchip.com/pagehandler/en-us/family/32bit/[/url]
Peter.
Thu, 14 May 2015 03:14:25 +0000
I disagree with that old biker, if you have an easy question fire it off... I like answering the easy ones... Did you find what you're looking for?
Jacob
Thu, 14 May 2015 04:24:48 +0000
It was 'virvinia12' who was after information, to which I supplied a pointer.