Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - External C libraries for PIC16F under ldmicro32

(you are viewing a thread; or go back to list of threads)

External C libraries for PIC16F under ldmicro32 (by José GILLES)
Hi

I'm developping external C libraries for PIC16 (for the time being PWM lib for PIC16F876).

I have successfully tested attached program in a PIC simulateur, but nothing is better than a true test on a real target.

May someone who has a PIC16F876 (or 87X) test hex file, by connecting a led + R on RC2, and led me know if led's luminosity
varies according tp pwm output ?

If you have other PiCS I'd also like to know if it works too...

Thanks for your help
JG
Sun Jan 13 2019, 15:25:41, download attachment Pwm-Pic16F876.zip
(no subject) (by Alex)
Hello José GUILLES, can you make one for 16f877a, i use pic c compiler and it doesn´t compile your files, i downloaded mplab xc8 it appears 2 errors, maybe i am doing something wrong, i am not familiar with mplab ide
Sun Jan 13 2019, 20:25:37, download attachment error compiling mplab.jpg
(no subject) (by José GILLES)
OK

I used Hitech C in Mplab8 ; but at this time the 3 files in test are together in the same directory ! You can also remove #include of ladder.h (not used at this time)
In fact a file hierachy pb again...

Here's my Mplab project and an hex file for 877A.

Thanks
José
Mon Jan 14 2019, 01:49:59, download attachment Pwm-Pic16F877A.zip
(no subject) (by José GILLES)

If you didn't manage to have your I2C LCD display working, even by changing timing, let me know the exact model ?
Mon Jan 14 2019, 01:52:49
Programador (by Calubert)
Para José GILLES, yo puedo probar ya que tengo un programador de .hex que es el modelo: TL886II plus. http://www.xgecu.com si miras veras que tiene miles de chic que puede grabar, tanto memorias como. ya te mande la traducción.
Mon Jan 14 2019, 15:40:42
(no subject) (by Alex)
here is what i got with your Pwm-Pic16f877A.hex, iis like fading fast. like blinking i guess

https://www.youtube.com/watch?v=-IddZmji-H4&feature=youtu.be

this is my lcd hd44780 (pdf attach)
Mon Jan 14 2019, 17:57:44, download attachment lcd hd44780.pdf
(no subject) (by José GILLES)
To Calubert:

Your TL886II+ programmer seems to be nice, but a bit expensive because of many accessories that I don't need...
I have an ICD2 clone and a PIC board, but the board must be repaired ; when I'll have time...

JG
Tue Jan 15 2019, 05:03:32
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):