Recent Posts

Pages: [1] 2 3 ... 10
Français / Re: Création d'un menu de choi...
Last post by Madmonkey630 - Today at 07:24 pm
OK bon bah je vais voir ça avec mon informaticien de beau frère sinon j'utiliserai la solution que tu m'as donné merci de tes lumières
Deutsch / Re: Fragen zum Projekt, Weizen...
Last post by Walkerman - Today at 07:23 pm
Ja denke ich auch:D. Gar keine Sensoren, alles per Zeit, dass würde schon funktionieren hängt halt viel mit ausprobieren zusammen. Was meinst du mit Steuerung? Ich steuer ja die Motoren über den Motor Shield und da kann ja auch die Geschwindigkeit regulieren. Sollte doch dann feinfühlig funktionieren können oder nicht?

Kannst du denn einen moderneren empfehlen?
Geht es auch nicht schon davor? Ich meine der Motor soll eine Gewindestange antreiben und an der Gewindestange ist eine Last von ca. 1,5kg befestigt. Reichen die angaben nicht?

Die Gewindestange wollte ich benutzen:
So you probably end up having one interrupt handler and using a jump table there.
Code: [Select]
void dummy();
void isr1();
void isr2();
void isr3();

void (*jumpTable[])() = {dummy, isr1, isr2, isr3};
volatile uint8_t isrSelect = 0;

void setup() {

void loop() {


void dummy() {

void isr1() {
  // Do Stuff

void isr2() {
  // Do Differnt Stuff

void isr3() {
  // Do Differnt Different Stuff
i just need real time clock on display, and random train departure.

extra feature option: pin 9 for slide show of all lines, triggered by switch, with delay of 30sec for one line (case).
Programming Questions / switching from Uno to Mega 256...
Last post by tdg - Today at 07:22 pm

I posted a question a month or so ago to ask if I could switch from a Uno to a Mega 2560 without changing anything.  I was told that the Mega should be more or less plug and play with no changes.  Seems that that is not quite right.  The problem centers around getting an Adafruit Data Logger Shield that to work with an Mega 2560.  I've walked part of the way through the tutorial (  I'm using the online editor rather than the IDE.  Anyway, I've found the library referenced in the tutorial and opened the example PCF8523 (I have the latest rev of the data logger shield with the PCF8523 chip on it).  When I plug in the shield to my Mega and upload the example, I get garbage on the serial monitor.  I also have an Uno, and when I plug the Datalogger into that, it seems to run the example just fine.  There must be something different about the Mega 2560 hardware compared to the Uno.  Anyone know what I need to do to make the shield work with the Mega?  I need the extra inputs on the Mega, or I would use the Uno.

What is the printed value of potValue at the point of failure?

Also, I'd be more inclined to use
Code: [Select]
map(potValue, 0, 1024, 0, 180) array.
It has nothing to do with Arduino but I tried PC forums and the question didn't get any reaction. So I thought a project maker forum such as this might have the users with skill set to help.

As you said I needed to find a 5V pin to connect to that provided constant voltage. I found the pin on an JT1 header that was on the motherboard but not listed in the manual. Once I had done that I worked it out as below through educated guessing.

Now I just need to wire it in parallel and hopefully it will work as expected.
Should I always be in no new line? When do you use which mode? What is the purpose of each?
Set the line ending as required for your program

For detecting the end of text entry, for example, an explicit line ending is useful
no, i am not too familiar with those, I only know of the "memcpy_P" cmd. from the context of the original code, but it did not seem to apply or would not work in my application due to ram limits.

could you give me some ideas on how to apply these instructions, or direct me somewhere i could learn how?

Thank you!
Pages: [1] 2 3 ... 10