Use your forum account to login.

LOGIN

Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Sort By

USER REQUESTS

<< previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 last
Scott Henry
shenry10

posted on 2019/01/15 02:59:10 AM CET

Other Codes

NRF24L01 for ARM

NRF24L01 for ARM driver/library

Milan Kratochvil
mikrasoft

posted on 2019/01/09 10:32:39 AM CET

Measurement

Grid-EYE Click Library

Do you have any library for Grid-EYE Click for use it in MikroPascal AVR and ARM compilers?
On the Click product page is example in MikroPascal which needs functions:
GridEye_WriteByte()
GridEye_ReadWord()
which are not enclosed nowhere.
Thank you.

Shiva Kumar Reddy Kothuru
skothuru

posted on 2018/12/14 12:52:32 PM CET

Other Codes

Using RC0 and RC1 as digital output pins of PIC18F87K22

Hello folks,

I would like to set my pins RC0 and RC1 as digital outputs but cannot use them as digital outputs after setting the below config.
#pragma config SOSCSEL = DIG
CCP2CON = 0;

I searched some blogs where everyone used this library "xc.h", I am not using this library for my application.

any help for my issue is highly appreciated.

Thanks in advance!!

Ed Anderson
Rotary_Ed

posted on 2018/12/04 03:16:46 PM CET

Bootloaders

PIC32MX795F512L USB MSD (Thumbwheel) Bootloader Needed

While my use of the USB HID Bootloader for my world wide customers has worked fine, I would like to have a USB Flash/Thumbwheel/pen drive capability to upgrade my products software to preclude the customer needing to carry a laptop to the vehicle my Electronic Ignition Monitor is installed in. Despite months of effort and some progress, I have finally had to admit the bootloader development skills/knowledge required is beyond me.

My custom board is USB OTG capable and currently I can read in and parse IntelHex format code and convert the Ascii hex format to binary. That is as far as I have gotten. The vector jumps and address locations required combined with the virtual and physical addressing just confuse me.

I would prefer the code to be in MikroPascal but can cope with it in C. The firmware would need to be installed using all the 12KB bootload reserved memory and then additional flash memory as required. The firmware would take 2-5 seconds to :
1. Determine that a Flash Drive has been inserted into the micro B socket
2. Query the files on the Flash Drive to match/ID a file with the proper file name as an application to be loaded
3. If 1 and 2 are satisfied then to activate the bootloaders download, convert and write to flashmemory
4. if 1 and 2 are NOT satisfied then to jump from bootloader to application firmware already loaded
5. One pin output (an LED on PORTB.RB13) will activate when condition 3 is met and will remain on during the download
6. If for some reason the bootloader is unable to proceed then to activate the LED in a blinking pattern.
7. Must not required a linking script as my MikroPascal compiler only provides the IntelHex file of the application
8. The file format should be FAT32 and standard IntelHex format for the PIC32
9. Should not require custom libraries but should use the Mikro provided ones

Additional information can be provided on requirements and custom board if needed.

Thanks

Rotary_Ed
eanderson@carolina.rr.com

Brad Pettry
bpettry

posted on 2018/11/30 05:12:50 PM CET

Measurement

Code Example for reading from AC Current click in some windows file format.

Hi guys,

I'm looking for a code example for the AC Current click (PID: MIKROE-2523).
I see you have code examples but they are all in .mpkg file format that I cannot open.

The main thing I am looking for is, do I need to do any conversion on the AC reading I receive from current board. I'm currently returning a value I did not expect and am wondering if I am missing some equation that needs to applied to the value to convert to amps.

Thanks in advance!
Brad

<< previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 last