Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : (DM) Help File and firmware upgrade
Author | Message | ||||
Bryan1 Guru Joined: 22/02/2006 Location: AustraliaPosts: 1344 |
G'day Guy's, Hi Guy's, Over the last week or so I have been testing out the new help file system with Ken's new firmware. Today I added a heap more to the file like SPI I2C etc. The link to the new firmware for is at:- http://www.kenseglerdesigns.com/cms/forums/viewtopic.php?f=4 &t=2 and http://www.themaximitecomputer.com/max/Programs/index.php?di r=Hardware%2FDontronics%2FOlimex%2FDownload+Files%2F Don will also host the 'help' file folder too and I'll let Don provide that link. OK So far there is 122 text files that I have written and on the main 'help' page is all the details for adding an option to invoke F1 to start the help file. All one needs to do to start up a help is type help "whatever Then the file will clear the screen and show, now a Ken suggested this text based system if one is working on a program and need's to look at a help file the program you are working on won't be shutdown so it does give a very handy reference. All the data for this help file system was taken from the MM V2.7 manual and the current Olimex pdf manual. So many thanks to both parties for providing the base of this project. Right now all of that is out of the way........ This Help File system is Totally Open Source so users are encouraged to add content and edit the text files if you think the page could look better. One thing I would like is code examples for each command so when either new or experienced users get stuck on a command they can have a quick reference then get back on track. Also another great feature this new system can provide is a 'post it note' style system. Lets say you have a code snippet or something else you want to reference just make a text file and using the help "whatever... it will be shown. I would for this thread to be a base for any new items to place in new help system and just attach a zip file of the whole new folder and the separate files that you have done so user's can decide if they want the new update. Guy's this is my first project in the Duinomite and I thought well if it will be good for me then why shouldn't everyone have the benefit of it. After All the spirit of Open Source is alive with this whole Duinomite project so lets make this new help file even better so everybody has a great online reference when needed. Regards Bryan P.S. I'm sure if Geoff wants to include this for the Maximite I'm sure Ken will give a hand so the Maximite users can also benefit. |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
My Help link is at: http://tinyurl.com/83ro963 Cheers Don... https://www.dontronics.com |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
@Bryan1 I hope you fixed all the spelling errors in the command basic files. Last week, I combined all your files into one document and found many spelling mistakes. You could use my PDF file to reproduce all your basic command files again. I only ran one pass on the spelling checker, so I advise you to double check for any errors again. After all, your help files would be used by everyone in the community and having the spelling errors fixed would make it professional. I took Bryan's1 "help" MMBasic code help snippets and converted them to a PDF using the free OpenOffice 3.0 word application.
I sorted all the help code snippets in alphabetical order and put one basic code snippet per one PDF page except for the long ones. A spell checker was applied to fix all the obvious spelling errors. (Brian used Sparkey's spell checker and there were a lot of spelling errors) From this PDF document, you can easily "copy and paste" the basic code help snippets, if need be. I used them as a reference tool. Also, I included CrackerJack's quick MMBasic reference. Enjoy The attached PDF is the document "Bryan1_Code_Help_Snippets_R1.PDF" 2011-12-04_133735_Bryan1_Code_Help_Snippets_R1.pdf The attached zip file contains the source document OpenOffice "odt" file for user additions, deletions and corrections and to generate another PDF file. 2011-12-04_133811_Bryan1_Code_Help_Snippets_R1.zip Back to Top |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
Well done Bryan. sure it may have spelling errors, but it's still nice idea and well implemented. Recently when I wrote some code example I had to check again and again with the user manual for the I2C and SPI command syntax, if I had this help file installed it would save me some time. I'm sending you one DuinoMite badge: note these are new and are not for sale, the only way to have one is to make nice contribution for DuinoMite community, you got the first one for the Help system. |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
There should be no excuse for spelling errors unless you are Sparkey. ------------ Free Sparkey ------------ |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Sorry, couldn't help myself Tsvetan. Badges, Badges, we don't need no stinkin badges! http://www.youtube.com/watch?v=nsdZKCh6RsU http://www.youtube.com/watch?v=gx6TBrfCW54&NR=1&feature=ends creen http://www.youtube.com/watch?v=-lj056ao6GE http://www.rudebadmood.com/badges/mov.php?mov=hammer-snip.mo v It is one of the most famous and re-worked lines in movie history, and I was constantly reminded of it by an old work friend, who is still alive today, would be close to 90 years of age. We always had a chuckle when he went into his stinkin badges routine. Mick also used the routine on me in the last week or two. Apart from the little sidestep into movie history, I think it is a grand idea. A stinkin Dynamite badge already!!! Cheers Don... https://www.dontronics.com |
||||
erg322 Newbie Joined: 19/10/2011 Location: AustraliaPosts: 9 |
Marvelous stuff!!! Woke up this morning to some really neat software. http://www.kenseglerdesigns.com/cms/forums/viewtopic.php?f=4 &t=2 (In no apparent order) Many thanks Ken for the hooks and tweaks in the Duino's "DEC 9" MMBasic. Many thanks Bryan for working on all those entries in the Help file. I'm a cloth-head at times and it's great you went the extra mile and included working examples. ***Ever always, Geoff for creating MMBasic in the first place. |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
New beta version posted Dec-11-2011 ken RTC On Boot now works you can select PCF8563 or DS1307<- not tested only PCF8563 so all you need to do now is set the time and date time$="10:20:00 date$="11/12/2011 and it will update the RTC after any changes to time$ and date$ added dow day of week print dow '0-sunday 1-monday ect .. also moved all timekeeping to the pic32 internal RTCC so you will not lose time when you write or read drive A: added new menu option Show Time Date that will display the date and time at boot Maximite BASIC Version 2.7ASettings Copyright 2011 Geoff Graham Sunday December 11 2011 12:03:32 B:\> DuinoMite Setup Menu - V1.3 Dec 11 2011 ----------------------------------------- Hardware Platform - DuinoMite V) Video Mode - NTSC - 480 R) RTC On Boot - PCF8563 D) Date Format - MM/DD/YY T) Show Time Date - Enabled S) SD Card - Enabled U) Usb Console - Disabled C) Serial Console - Com3: B) Baud Rate - 115200 M) Custom Video Mode P) Print Custom Video Mode ----------------------------------------- Q) Quit Dont Save Settings X) Exit Save Settings |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
print dow '0-sunday 1-monday ect ..
Be careful what numbers you use for the days of the week! You see DS1307/DS3231 uses 1-7 and Sunday being 1. You need to have both the PIC32 RTC and the battery protected RTC have the same day value. That way you could refresh both RTC clocks with the same value. Please note: The PIC32 RTC does not have a DOW (Day of week) but it can be easily computed. See my precision time keeping link: BTW ... The PCF8563 uses 0-7 and Sunday = 0 |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
thats good to know i dont have any ds1307's to test really but its easy to fix .. the PIC32 RTC does have day of week it does not calculate it from the start you have to tell it when to start after that it keeps track of it . Register 29-4: RTCDATE: RTC Date Value Register(1) 2-0 WDAY01<2:0>: Binary-Coded Decimal Value of Weekdays bits,1 digit; contains a value from 0 to 6 ken |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
@Ken Just curious, why two releases 2 days apart? |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
Free Time :) ken |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Where do you get that? I want some... Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
@Ken Please, with each release of any "new updated firmware" state what has been changed and any known outstanding issues and bug reports. In fact, have a revision history so users would able to track the firmware revisions and any known issues. |
||||
ksdesigns Senior Member Joined: 25/06/2011 Location: United StatesPosts: 143 |
It's easy spend 10 years working for a company building great products that the Chinese steal and sell it back to your parent Company for 1/10 of the price . All that equals long vacation :) ken |
||||
Bryan1 Guru Joined: 22/02/2006 Location: AustraliaPosts: 1344 |
Bumped for Snowwy |
||||
Print this page |