Search Forums by tag:
Serial, mbed, compiler, ethernet, USB, I2C, SPI, interrupt, LCD, library, bug, HTTPServer, CAN, AnalogIn, adc, Power, Ticker, memory, pwm, SD Card, InterruptIn, rpc, Error, SDFileSystem, PwmOut, LocalFileSystem, UART, canbus, driver, TCP, interrupts, rtos, led, libraries, editor, timer, accelerometer, GPS, file, clock, website, C++, SD, frequency, reset, http, LPC11U24, flash, SDCard, RTC, DigitalIn, TCPSocket, problem, printf, Java, Servo, buffer, UDP, SerialPC, DMA, HTTPClient, Sleep, audio, pinball, MODSERIAL, NetServices, socket, array, compile, filesystem, RFID, beta, m3pi, write, LPC1768, multiple, newbie, keyboard, sensor, GPRS, Forum, digitalOut, assembly, debug, hardware, Speed, xbee, AnalogOut, RPCFunction, EthernetNetIf, Download, code, voltage, wait, network, C, suggestion, JTAG, keil, MATLAB, offline, Board, lwip, I2S, dead, Nokia6610, time, bluetooth, WiFly, current, tcp/ip, MODDMA, SPI Slave, pololu, robot, Communication, read, dac, string, pc, binary, filter, copy, USB Host, publish, rs232, DHCP, Host, Data Logging, windows, firmware, malloc, mp3, PCB, gcc, attach, program, fatfilesystem, class, email, arduino, stepper motor, WavePlayer, wifi, Nokia, camera, size, VGA, import, documentation, ide, linux, baud, TextLCD, Cortex-M0, M0, pointers, pullup, Relay, timing, function, latency, serial port, MIDI, compiler error codes, magjack, touch, screen, Production, client, server, stream, HID, breakout, FIFO, prototype, flashing, GPIO, sampling, Analog, display, api, ADXL345, Encoder, DSP, help, motor, sram, suggestions, PING, Terminal, link, browser, Pin, control, Eagle, Modbus, EEPROM, mac, Timeout, fopen, port, updates, usbserial, batteries, DMX, files, USBMIDI, scanf, protocol, PPP, slave, FTP, integer, noise, MODGPS, modem, float, threads, motors, for, monitor, Digital I/O, 7, Windows Serial Driver, pins, keypad, FAT, classes, webserver, delay, variables, time-triggered, c programming, labview, watchdog, post, math, Battery, LPCXpresso, MBED website, GSM, storage, nxp, mobileLCD, license, int, counter, baseboard, Assembler, Vin, rj45, registers, E289, news, i2cmaster, amoled, Compiling, connect, revision, prototype to hardware, UMTSStick, Optocoupler, Robotics, search, oscillator, glitch, Websockets, load, find, real-time, routine, format, offline compile, powersource, driverlibrary, processing, networking, ID, umts, debugging, color, BUTTON, software, PS3, Images, wave, bin, const, SNMP, OSX, supply, peripheral, sensors, data, Design, PID, version, RIT, character, freeze, USBDevice, bus, ARM, wav, SRF08, heap, output, basic, TFT, QVGA, mysql, piezo, update, ID12, Pachube, player, DigitalInOut, object, cmsis, capture, IR, slow, 1768, PSP, OS, syntax, mbed.lib, EmbeddedArtists, NMEA, paste, project, Web, GUI, UART0, firefox, SQL, wakeup, RAM, bitmap, handler, security, 3D, bugs, OLED, Temperature, not, I/O, Bidirectional, rss, wireless, delete, resolved, LED1, LIS302, getc, Safari, Wi-Fi, wiki, PinNames, accounts, PS2, BusOut, projects, RS485, python1. You forgot to rename the class in PCA9532.h
2. PCA9532::write should probably look like this:
char foo[2];
foo[0] = data;
foo[1] = command;
_i2c.write(_addr,foo,2);
Yes, it's working!!
Got full control of the LED array now.
Will try to make it easier to write to LEDs and setting dim freq and PWM.
I'm a newbee with both the mbed and the LCPExresso base board.
I can't seem to find any basic info, like how to install the mbed (toward the top pin #1 or from the bottom near the SD card).
My hope with these cards is to bypass the wiring to use the mbed as I am physically challenged. I still want to be able to use the mbed toolchain and projects.
Can someout out there steer me to start-up?
Thanks to all.
I have been looking around the website and I have found this : http://mbed.org/users/okano/notebook/lpcxpresso-base-board-i2c-device-operation-example/
Shows how to use the i2c for the LED lights and light sensors
Simon,
Thats exactly what I was looking for!
There seems to be little info available for using mbed & lpcexpresso together.
Yes, it's really not obvious where the mbed fits on the base board; the DIL headers have extra pins as the LPCXpresso board is bigger. Nonetheless, page 2 of the baseboard schematic diagram shows the connector in detail - Pin 1 of the header (as labelled on the PCB, next to the anti-ESD pictogram) is Pin 1 of the mbed (marked as GND on the mbed PCB, to the left of the USB socket).
Put simply, if the text on the baseboard is the right way up, the USB socket on the mbed should be at the very top of the header, above the little "notch" in the printed rectangle within the header area.
Please log in to post a reply.

Hi, mbedders.
Now, before you laugh, I'm kinda lost on the I2C topic.
So I bought the Base Board from EA, and wanted to try the PCA9532 LED dimmer expander thingy.
And i thought, that if i used the PCF8574 files, with some editions, it could do the trick. But, somehow this little bastard, keeps giving me errors. Can anyone point out for me, what I am doing wrong?
I really can't see where my error should be:
http://mbed.org/users/Lerche/programs/5zebp
and here's the datasheet for the IC:
http://www.nxp.com/documents/data_sheet/PCA9532.pdf
/ Lerche