Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 16
106  Using Arduino / Displays / Re: new LiquidCrystal library problems on: January 02, 2013, 05:46:05 pm
It seems I am having the same problem as ZK in terms of the library not being found and it is driving me a little crazier.  I downloaded the the zip file from https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads and unzipped it into the following directory C:\Program Files (x86)\arduino-1.0\libraries\LiquidCrystal I renamed the original LiquidCryrstal directory in case I need it again.  When I restarted the IDE the examples are found so I thought great we are cooking with gas.  I loaded the example HelloWorld_SR as I have shift register on the LCD and have had it working under a different library.

Compiled the HelloWorld_SR skecth and got the following error 'class LiquidCrysatl_SR' has no member named 'createChar'  I commented out the line with createChar to see if it was only that function and got the same error except this time it was for 'home'
Code:
#include <Wire.h>
#include <LiquidCrystal_SR.h>


LiquidCrystal_SR lcd(8,7,TWO_WIRE);
//                   | |
//                   | \-- Clock Pin
//                   \---- Data/Enable Pin

// Creat a set of new characters
byte armsUp[8] = {0b00100,0b01010,0b00100,0b10101,0b01110,0b00100,0b00100,0b01010};
byte armsDown[8] = {0b00100,0b01010,0b00100,0b00100,0b01110,0b10101,0b00100,0b01010};

void setup(){

  lcd.begin(16,2);               // initialize the lcd

  lcd.createChar (0, armsUp);    // load character to the LCD
  lcd.createChar (1, armsDown);    // load character to the LCD

  lcd.home ();                   // go home
  lcd.print("LiquidCrystal_SR");
}

void loop(){
  // Do a little animation
  for(int i = 0; i <= 15; i++) showHappyGuy(i);
  for(int i = 15; i >= 0; i--) showHappyGuy(i);
}

void showHappyGuy(int pos){
  lcd.setCursor ( pos, 1 ); // go to position
  lcd.print(char(random(0,2))); // show one of the two custom characters
  delay(150); // wait so it can be seen
  lcd.setCursor ( pos, 1 ); // go to position again
  lcd.print(" "); // delete character
}

I must have done something stupid but I am at a loss to figure out what it is I did wrong.

TIA

wade
107  Using Arduino / Project Guidance / Re: Incorporated Arduino DUE project - Soccer Robot on: December 31, 2012, 03:48:19 pm
Be careful when not installing stuff like the JTAG header as they are sometimes quite nice for programming and debugging.
108  Community / Gigs and Collaborations / Re: Looking for help to set up an open source charge controller shield + vt100 emula on: December 30, 2012, 08:59:37 pm
I stand corrected I guess I never thought I would see one and did not think they were still in use.  I agree they were extremely robust and it is good to see there is a use for dinosaurs, there may be hope for me also, although I was never so robust.
109  Community / Gigs and Collaborations / Re: Looking for help to set up an open source charge controller shield + vt100 emula on: December 30, 2012, 11:59:50 am
"VT100 Emulation"  Wow!! Talk about a blast from the past.  I do not think I have used a VT100 emulator for 20 years and surprised and maybe a little nostalgic that they still have use in the world today.  Although, with death of DEC and other mainframes I am at a loss to guess where there use is.

110  Using Arduino / Project Guidance / Re: Microphone Circuit on: December 11, 2012, 10:17:53 am
Can you place another microphone upstream in the sax, if you can it may be possible to use the upstream mic as a switch that turns on the sampling if it get a signal before the ed. you placed.  This is not foolproof but may be any easy method that work well enough.
111  Using Arduino / Networking, Protocols, and Devices / Re: Clean, straight-forward MPU-6050 code on: December 10, 2012, 09:38:56 am
Schmidtbag,

The alternative is to write the code you believe is needed for one device and share with the great unwashed.  Your example would show the world what it has been missing in easy and simple code and everyone would join the movement.

wade
112  Using Arduino / Networking, Protocols, and Devices / Re: Best Entry-Level GPS Unit on: December 09, 2012, 11:47:01 am
From my experience running a team of engineers that developed, productionized, fielded, and supported a UAV system in a combat zone I have found GPS modules to be amazingly robust when it comes to mechanical shock.  I have seem small UAVs landed into a concrete wall at full throttle and fly the same electronics in the same or another bird by a simple swap out.  Note: UAV engineers often use the term land where a customer might make the mistake of saying crash.
113  Using Arduino / Networking, Protocols, and Devices / Re: Best Entry-Level GPS Unit on: December 08, 2012, 03:50:24 pm
I have had good luck with these guys http://www.mouser.com/ProductDetail/Maestro-Wireless-Solutions/A2035-H/?qs=sGAEpiMZZMsozux2%2fwCmWzf0tcKPfaAL
114  Using Arduino / Networking, Protocols, and Devices / Re: NRF24L01 networking proof of concept / demo video on: December 08, 2012, 03:46:49 pm
Nice video, maybe you could post the code you used for the POC here on the forum or a link to the code.
115  Using Arduino / Sensors / Re: physical position on: December 08, 2012, 03:40:29 pm
There are barometric pressure sensors that can be used as altimeters that have resolution of 10's of cm so it would tell you when the box was lifted, when compared to a baro sensor that stays at the same height so you can avoid false alarms due to changing atmospherics.  You could also look at rapid changes that would indicate lifting of the object and not changing atmospheric changes.
116  Using Arduino / Project Guidance / Re: How to use the Maestro A2035-H GPS receiver on: December 07, 2012, 04:56:04 pm
After the 200 ms pulse
117  Using Arduino / Project Guidance / Re: How to use the Maestro A2035-H GPS receiver on: December 07, 2012, 02:58:54 pm
It just starts spitting out NMEA data and they work good I use them for time stamping timing critical events on remote nets.  If you contact tech support with Maestro you email with "Larry" and this is not much better than the manual but once he understands what you want and stops telling you really basic things off his troubleshooting sheet you get what you need from someone behind the curtain.  Given the $20 cost for a fully functional GOS with PPS it is a great deal, even with the poor docs. 

They are surface mount parts but hand solder very easily.

Regarding the shutdown shutdown stuff I just wait the second  then shutdown power.
118  Using Arduino / Sensors / Re: ADXL 335 Accelerometer for Leveling? on: December 06, 2012, 09:43:15 am
The calibration data should also taken after the sensor is mounted on the board or in the system.
119  Using Arduino / Sensors / Re: ADXL 335 Accelerometer for Leveling? on: December 04, 2012, 09:45:32 am
How have you verified 0.5° accuracy?  Have you calibrated the unit?

Thanks

wade
120  Using Arduino / Project Guidance / Re: 555 Timer in Arduino? on: November 30, 2012, 11:21:15 am
Using the Arduino to replace the 555 in a monostable mode would be a mistake unless you are going to use additional capabilities of the Arduino, extreme overkill.
Pages: 1 ... 6 7 [8] 9 10 ... 16