chipKIT® Development Platform

Inspired by Arduino™

MPLAB X Include Failure WProgramm.h

Created Tue, 01 Dec 2015 18:58:08 +0000 by MRuoss


MRuoss

Tue, 01 Dec 2015 18:58:08 +0000

Good evening everyone, I am an absolute newbie in programming chipKIT and use the MPLAB X IDE and a MX7Cerebot Board. Now I wanted to integrate the KYPD Library and it shows that a library is missing, the #include <WProgram.h>.

What am I doing wrong?

Thank you for your support.


majenko

Tue, 01 Dec 2015 19:07:03 +0000

What's the KYPD library? Something to do with the police in Kentucky?


MRuoss

Tue, 01 Dec 2015 19:15:44 +0000

Excuse me. The C-code files for the 4 * 4PmodKYPD - 16 Button Keypad

http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,401,940&Prod=PMODKYPD http://www.digilentinc.com/Data/Products/PMODKYPD/KYPD.zip


majenko

Tue, 01 Dec 2015 19:23:43 +0000

Ah, right, I'm not familiar with all digilent's toys.

Well, if you're using MPLAB-X then you're not using the chipKIT environment. So you can't use chipKIT libraries. If you want to use chipKIT libraries you will either have to use MPIDE or UECIDE (of course, as the author, I have to recommend the latter).

But then, you really really don't need the crutch of a library to read a simple matrix keypad (BTW, I bought a couple from China on eBay without the fancy mounting PCB for like $1 each, those pmods are wildly expensive...)


MRuoss

Tue, 01 Dec 2015 19:30:25 +0000

Thanks for your answer. That was just an attempt to see if and how it works. So I'll follow your advice and try the UECIDE.

Thank you and have a good time.