Show Posts
Pages: [1]
1  Using Arduino / Sensors / Re: Testing MCP3208 with Uno on: November 26, 2012, 04:10:48 pm
Got it working. I was using an Arduino compatible board with a bluetooth module that connects over SPI. It seems there's some compatibility issue here because it works fine on my actual Arduino Uno.
2  Using Arduino / Sensors / Testing MCP3208 with Uno on: November 25, 2012, 02:41:39 pm
I'm having an issue with the Michrochip 3208 ADC.

I'm using the example code from the playground  and it seems pretty straight forward

Right now all I gout out from the serial monitor is


I'd expect 4095

I've tried connecting +5V to the Channel 1 and 2 inputs but there's no effect. Has anyone had similar issues? Is there a better way to test whether the chip is working as intended?

Eventually I'd like to use pseudo-differential input but for now i'm sticking to the single ended setup used in the example until I figure out what's wrong.

3  Using Arduino / Programming Questions / Subfolders in contributed libraries on OS X on: August 01, 2012, 04:33:59 pm

I'm having some trouble with a bit of 3rd party code. It compiles when I run it using a windows virtual machine but not in OS X.

When I try to verify the code in OSX it says it cannot find library files which are located within a subfolder under the contributed library folder.

For example:

My contributed library is called Nordic (Documents/Arduino/libraries/Nordic)
Within that I have the acilib.cpp which is looking for aci_cmds.h. This file is located under (.../libraries/Nordic/aci/).
If this isn't clear I've attached a screenshot from finder.

When I try to verify the code I get the error message:
/Users/twonius/Documents/Arduino/libraries/Nordic/acilib.cpp:25:26: error: aci\aci_cmds.h: No such file or directory

The code for acilib.cpp which is looking for aci_cmds.h is as follows:

#include <stdint.h>
#include <stdbool.h>
#include "aci.h"
#include "aci\aci_cmds.h"
#include "aci\aci_evts.h"
#include "aci\acilib.h"
#include "aci\aci_protocol_defines.h"
#include "aci\acilib_defs.h"
#include "aci\acilib_if.h"
#include "aci\acilib_types.h"
#include "lib\lib_mem.h"

how should I change this addressing in order for it to work with Mac or preferably both file systems?

I'm running Arduino 1.0.1 on OS X 10.8
Pages: [1]