Show Posts
Pages: [1] 2
1  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: December 02, 2013, 04:15:21 am
Ok, look like I found the problem. It is this line which causes the problem. Not really sure how to fix. Suppose the value from the array needs to be cast.?

Code:
OCR1A =  arrayRPM[rpm]; //t_output;
2  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: December 01, 2013, 05:22:59 am
All:

Wonder if anyone is having issues with using MenWiz and Timer1. The following code in the setup routine chokes MenWiz and the LCD will not display anything.

Code:
// initialize Timer1
cli();          // disable global interrupts
TCCR1A = 0;     // set entire TCCR1A register to 0
TCCR1B = 0;     // same for TCCR1B

// set compare match register to desired timer count:
OCR1A =  arrayRPM[rpm]; //t_output;
// turn on CTC mode:
TCCR1B |= (1 << WGM12);
// Set CS10 and CS12 bits for 1024 prescaler:
TCCR1B |= (1 << CS10);
TCCR1B |= (1 << CS11);
// enable timer compare interrupt:
TIMSK1 |= (1 << OCIE1A);
// enable global interrupts:
sei();
3  Using Arduino / Displays / Re: M2tklib LCD 2x16 Decimal in input on: June 10, 2013, 05:53:39 am
Thanks all, will give it a try.
4  Using Arduino / Displays / M2tklib LCD 2x16 Decimal in input on: June 08, 2013, 02:31:01 pm
Following some of the tutorials on using the M2TKLIB for meuns on a LCD. is there a way of using a float or incorporating a decimal in the display. I don't think the library supports the use of floats but for examp can I display a input with a decimal as a workaround. For example x.x would be displayed and I can change the values before and after the decimal.

5  Development / Other Software Development / Re: Debugger for the Visual Studio Plugin - Preview on: September 28, 2012, 04:53:33 pm
http://youtu.be/fFM8_RhIG0U
6  Development / Other Software Development / Re: Debugger for the Visual Studio Plugin - Preview on: September 28, 2012, 02:00:25 am
Just a note the plug in is also available for VS2012. VS 2012 is also available for a legal free copy if you follow the link.
7  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: September 02, 2012, 08:02:05 am
Thanks Jantje.

Your help worked. Project compiled fine. Much appreciated.
8  Development / Other Software Development / Re: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches on: September 02, 2012, 02:02:57 am
Hello:

Having an issue getting the Arduino wire library  to compile. I have followed the instructions at the recommended thread in the FAQ file to no avail.

http://arduino.cc/forum/index.php/topic,86344.0.html

Win 7 64 bit
Arduino 1.0.1
Eclipse Indigo Release 2
Arduino eclipse plugin 1.2.5.5

Code:
**** Build of configuration Release for project Blink ****

make all
Building file: C:/Reef_Angel/libraries/Wire/utility/twi.c
Invoking: AVR Compiler
avr-gcc -I"C:\Reef_Angel\hardware\arduino\cores\arduino" -I"C:\Reef_Angel\hardware\arduino\variants\standard" -I"C:\Users\Bryan\workspace\Blink" -I"C:\Reef_Angel\libraries\EEPROM" -I"C:\Reef_Angel\libraries\Ethernet" -I"C:\Reef_Angel\libraries\Firmata" -I"C:\Reef_Angel\libraries\LiquidCrystal" -I"C:\Reef_Angel\libraries\SD" -I"C:\Reef_Angel\libraries\Servo" -I"C:\Reef_Angel\libraries\SoftwareSerial" -I"C:\Reef_Angel\libraries\SPI" -I"C:\Reef_Angel\libraries\Stepper" -I"C:\Reef_Angel\libraries\Wire" -D__IN_ECLIPSE__=1 -DARDUINO=101 -DUSB_PID= -DUSB_VID= -Wall -Os -g -mmcu=atmega328p -DF_CPU=16000000UL -MMD -MP -MF"Wire/utility/twi.d" -MT"Wire/utility/twi.d"  -c -o "Wire/utility/twi.o" "C:/Reef_Angel/libraries/Wire/utility/twi.c"
C:/Reef_Angel/libraries/Wire/utility/twi.c:115: error: conflicting types for 'twi_readFrom'
C:/Reef_Angel/libraries/Wire/utility/twi.h:81: error: previous declaration of 'twi_readFrom' was here
C:/Reef_Angel/libraries/Wire/utility/twi.c:192: error: conflicting types for 'twi_writeTo'
C:/Reef_Angel/libraries/Wire/utility/twi.h:82: error: previous declaration of 'twi_writeTo' was here
make: *** [Wire/utility/twi.o] Error 1

Could anybody assist in what I need to do next?
9  Development / Other Software Development / Re: Arduino libraries for Eclipse on: July 11, 2011, 05:11:11 pm
That's what I was afraid of,even to get it going seems overly complex.

I never had any luck with AS5, seems it's too buggy, if you have any luck let me know.
10  Development / Other Software Development / Re: Arduino libraries for Eclipse on: July 11, 2011, 06:32:44 am
Looks good, have done the same with Eclipse as well and AVRStudio 4. Have you had any luck in using any sort of debugging tools with the Eclipse.

http://avr-eclipse.sourceforge.net/wiki/index.php/Debugging

11  Using Arduino / Displays / Re: Nokia 6610 LCD power problem? on: July 05, 2011, 09:02:06 pm
A 7809 is a +9v regulator, are you sure you have this right?

Are you feeding the 9v to the Arduino regulator?
12  Development / Other Software Development / Re: help migrating from Arduino IDE to AVR Studio 4 on: June 30, 2011, 03:31:07 am
I have the Arduino "HelloWorld" LCD project, compiled, built and running nicely on AvrStudio 4, haven't tried any debugging yet, but should be ok. Anything in particular you are having problems with. Send me a PM and i can send you the project. Most of the challenge is getting the command settings correct, and the include paths right, as well you need to import the libcore.a library that Arduino creates on a compile.

This can get you started.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453

as well

http://arduino.cc/forum/index.php/topic,62094.0.html

Cheers
13  Using Arduino / General Electronics / Re: Interfacing 3.3v CMOS and 5v TTL on: June 28, 2011, 01:27:34 am
Do I need something from the 74HCT family or are there any optocoupler type things that would be better ?


I use a 74HC4050 as a 5v to 3.3v translator and it works well.
14  Development / Other Software Development / Re: Arduino+Eclipse tutorial, from start to finish on: June 19, 2011, 05:25:33 am

Well, Win 7 64 bit and success. Compiled hex works fine when uploaded. Know just to figure out the limited debugging tools

Code:
**** Build of configuration Debug for project HelloWorld_LCD ****

make all
Invoking: Print Size
avr-size --format=avr --mcu=atmega328p HelloWorld_LCD.elf
AVR Memory Usage
----------------
Device: atmega328p

Program:    3602 bytes (11.0% Full)
(.text + .data + .bootloader)

Data:        242 bytes (11.8% Full)
(.data + .bss + .noinit)


Finished building: sizedummy
15  Development / Other Software Development / Re: AVRStudio 5 and Arduino on: June 19, 2011, 05:17:35 am
It's not bad, hey, anything is better than trying to debug a Arduino projet with nothing more than serial monitor!!. Although i have yet to be able to get a Arduino project to compile in A vrStudio. Think I am close, but my experience is limited.
Pages: [1] 2