It is currently 20 Apr 2018 02:15

All times are UTC + 1 hour




Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49  Next
Author Message
 Post subject: Re: PIC related website
PostPosted: 03 Jun 2014 00:03 
Offline

Joined: 01 Oct 2009 22:48
Posts: 900
Location: Rocky Mountains, USA.
Hi Dany,

Congrats on the LibStock award! :D

A BIG Thank You for the support you provide and additional resources on your web site.

Well deserved honors, Robert.

_________________
HW: easyPIC5|PICFlash2|easyBT|smartGSM|easyGSM|PICPLC16|mmWorkStation|FT800 Eve|PIC Clicker/2|
MMBs:PIC18F,PIC33EP,PIC32|CLICKs:DAC,ADC,GPS L10,Thermo,8x8B LED,Stepper,W/B OLED,9DOF,GPS3,tRF,Hall I|

SW: mP for PIC|mB for PIC-dsPIC-PIC32|Visual-TFT|


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 12 Jul 2014 18:49 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Hi,

A new library has been added to the RTC package (http://www.libstock.com/projects/view/98/rtc): RTC_DS1307_Advanced.

In this "advanced" version the DST (DayLight Saving Time) functionality (among others) has been added.

With thanks to aCkO for his very simple/efficient C version of the DST check algorithm (see http://www.mikroe.com/forum/viewtopic.php?f=88&t=30565&start=2)

Have fun!

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 24 Jul 2014 12:22 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Hi, A new package has been added to LibStock: the I2c_Timeout package, see http://www.libstock.com/projects/view/1052/i2c-with-timeout.

It contains replacement routines for I2c1_Rd and I2c1_Wr but here with timeout, so no blocking any more when a device one tries to access is not present. The mE I2c library is still needed for the remaining I2c routines.
For the moment only for P16 and P18 Pic's with only one HW I2c module.

Usage (e.g. in mP):
  ...
  I2c1_Wr_TimeOut(Data_, 250); // Write “Data_” with a timeout of 2500 microseconds (2.5 millisecs)
  If (I2cTimeOut > 0)       // Test if TimeOut
  then …                    // OK
  else …                    // timeout error
  ...

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 25 Jul 2014 19:06 
Offline

Joined: 19 Apr 2013 10:00
Posts: 889
Thank you so much for this :D

Best Regards

Edited part below:
Can you please tell me what are the tools you used to create your website?

_________________
My hobby is collecting MikroElektronika products.
Gotta catch them all!


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 11 Aug 2014 15:39 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Hi,

Posted a small article about "Ram Corruption", see http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-mp-and-mb.

Purpose of this article: Make people aware about the ways of working that can introduce ram corruption (and of course how to avoid it). In this document the many ways where it goes right are not mentioned, only the danger areas are highlighted.

The document in .pdf format: http://www.rosseeld.be/DRO/PIC/RAMCorruption_SizeOf_StringConcat.pdf.

Please forward your suggestions or additions via the "comments" tab. The article is most possible not complete. All suggestions are wellcome!
Thanks in advance!

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 13 Aug 2014 12:16 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
See previous post.

Added to "sources of ram corruption" to the document http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-mp-and-mb:
- forgetting about the terminating zero of strings when manipulating them wthout use of the string routines (e.g. with memcpy)
- the "SizeOf" result when used on external items.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 22 Aug 2014 15:47 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Dany wrote:
See previous post.
Added also the mikroBasic examples code now.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 28 Aug 2014 11:29 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Hi, a new article has been published: http://www.rosseeld.be/DRO/PIC/PicKit2_Usage.pdf or http://www.libstock.com/projects/view/1091/article-usage-of-the-pickit2-as-programmer about how to control a PicKit2 (MicroChip) programmer from within the IDE.

Thanks Rainer for the PicKit2 present!

Have fun! :D

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Last edited by Dany on 31 Aug 2014 11:36, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 28 Aug 2014 20:21 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
See above post. Added a small part about "isolation" between the MCU and the rest of the circuit using the PicKit2 programmer.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 28 Aug 2014 22:19 
Offline

Joined: 29 Sep 2007 14:35
Posts: 171
Location: France
Thanks Dany ! :D


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 31 Aug 2014 11:35 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Ref: http://www.rosseeld.be/DRO/PIC/PicKit2_Usage.pdf or http://www.libstock.com/projects/view/1091/article-usage-of-the-pickit2-as-programmer: changed the content of the batchfile to prevent programming errors unnoticed.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 09 Sep 2014 11:52 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
An extra version of the "Wattmeter" project (see http://www.libstock.com/projects/view/747/wattmeter-power-meter) has been added: WattMeter_Interrupt.

This version does the measurements (ADC readings) under timer interrupt. The accuracy of the measurement timing is no longer influenced by the main loop speed here.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 09 Sep 2014 11:57 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
MaGiK wrote:
Edited part below:
Can you please tell me what are the tools you used to create your website?
Sorry for my late answer, I did not see this edited part for some reason.
The answer to your question: no special tools: only a text editor and FireFTP (add-in of FireFox) to transfer the files to my provider.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 09 Sep 2014 14:07 
Offline

Joined: 19 Apr 2013 10:00
Posts: 889
Thanks a lot for answering :D
Best Regards

_________________
My hobby is collecting MikroElektronika products.
Gotta catch them all!


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 03 Nov 2014 16:21 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3751
Location: Nieuwpoort, Belgium
Hi, a new code snippet has been added to the website: http://www.rosseeld.be/DRO/PIC/Walk_Dir_Tree.mpas.

Walk trough the directory tree with the usage of Fat32_1/Fat32_2 library (see http://www.libstock.com/projects/view/58/fat).
The code is actually for Fat32_1, but can be used with Fat32_2 with minor modifications.

Content:
The routine "WalkTree" that visits recursively (without using recursion) all subdirs (starting from the current directory) on e.g. an SDMMC card.

In each (sub)dir a user routine "UserProc" is called with as parameters the current level (0 being the starting level in the dir tree) and the possibility to stop the walk through.

_________________
Kind regards,
Dany.
(happy user of mP PRO for PIC and dsPIC30/33 and PIC24, PicFlash2, RTClock, Max232 board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libs)
http://www.rosseeld.be/DRO/PIC/index.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: