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]
posted on 2014/03/18 10:52:32 AM CET
USB stick to FAT 32
- Read directorie
- Select a file
- Save a file
- Create a file
etc..
thank you
posted on 2014/03/11 09:08:47 PM CET
i need to know how the Watchdog timer is cleared in the program using PIC 16f887
posted on 2014/02/15 07:35:59 PM CET
Hello Everyone,
I'M new here so don't exactly know how this request-process works...
My problem is:
I have to buuild a 6 channel thermocoulpe data logger, with USB HID comm. I work in mikroB Pro Environment on EasyPIC v7 board with the original 45K22 proc. For this purpose I bought a ThermoClick panel which works fine in the above environment. But because of the need of USB I Changed the proc to a 45K50 one. That's the point where the problems began.
1st:
The 45K22 and the 45K50 have different pinouts for SPI. The built-in SPI library does not provide any possibility to change the pins from code. How can I use the orginal sample code as a starter and apply it for the 45K50?
2nd: If I want to use several slaves (not with Daisy-chain) I'll have to use different SS-lines for each. How to change the SS-pins from code runtime?
Any help or idea would be very useful.
Thanx in advance....
Reg: z. peres
posted on 2014/02/10 04:53:13 PM CET
MikroE TFT drivers package lack the HX8238A and HX8238D drivers.
It have found that those drivers are very popular for 3.5 inch displays.
I wonder if someone can add those drivers to the compiler.
My research revealed that in the TFT_Defs only three functions are needed for each driver:
for example for the HX8238A you have to write the following functions:
TFT_Reset_HX8238A()
TFT_Init_HX8238A(width, heigh)
TFT_Init_HX8238D_Custom(with, height)
Writing those function means reading the datasheet and writing to the appropriate registers the right values.
The code should be added to the file __Lib_TFT_Defs.c that might be found in the MikroC installation folder in the Uses sub folder. the file contains the definitions of those functions for different display drivers.
Since I lack of a display with HX8238D but I know that I will need it shortly, I am willing to pay for this task and let the whole community of MikroE enjoy the library.
if you can do it and are interested please PM me from the forum.
posted on 2014/02/04 02:50:02 PM CET
Hi!
I have been trying to play music from an SD card with no succes.
I am using PIC f1845k22.
Can someone help me write a code?