10 years, 6 months ago.

Compiler error when declaring PortOut for LPC800-MAX

Hi

Why this does compile for LPC1768, but not for LPC800-MAX:

#include "mbed.h"
PortOut dds(Port0, 0);
int main() {
    return 0;
}

I got error: Identifier PortOut is undefined

Why PortOut cant be created on LPC800-MAX?

PortOut is not implemented for the LPC8xx devices. Just don't ask me why not, it seems to me like it still uses normal ports, it just only has one of them, so PortOut should work fine then when they implement it.

posted by Erik - 29 Oct 2013
Be the first to answer this question.