Recent Posts

Pages: 1 ... 7 8 [9] 10
Yes, I comment out all the "lc" lines in void setup and void loop (along with their surrounding for-next loops). I leave the "mth" lines, which then start working. They do not work if "lc" is not commented out. Could it be because the "lc" loop never ends?

I finally managed to get both the eye and mouth parts to light up at the same time with their own animations using the MD_MAX72xx library, but what I noticed is that the eye animation would run, then the mouth animation, then the eyes again, then the mouth, etc.

Because I want to animate the mouth using a microphone as an input, and the eyes need to move and blink independent of the mouth, I think I need to use two arduinos. I am now working on getting that to work. There might be a way to do it with one, but I only have a week to get this working, so I'm going with the simplest solution (simple for someone just learning).

Thanks for your help and interest. I'll post here if I actually get it all working.
please someone help me.
You need someone to copy the text in the window and paste it into a file? The Serial Monitor application does not have the ability to write the data directly to a file, which shouldn't be all that hard to discover.
Hi guys,
I have an Arduino UNO Rev 3 and an HunRun Ethernet shield with WIZnet W5100 chip. I think it is broken because I can't manage to obtain an IP address. I tried these sketches for test:

Code: [Select]

#include <SPI.h>
#include <Ethernet.h>

byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,0,2);

void setup() {

  // disable SD card if one in the slot

  Serial.println("Starting w5100");


void loop() {

With this I get:

Code: [Select]

Starting w5100

So the SPI is not working. Then I tried this:

Code: [Select]

#include <SPI.h>
#include <Ethernet.h>

byte mac[] = {  0x00, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

void setup() {

  // disable SD SPI

  Serial.print(F("Starting ethernet..."));
  if(!Ethernet.begin(mac)) Serial.println(F("failed"));
  else {

void loop() {

But the serial monitor is stuck at:

Code: [Select]

Starting ethernet...

So the RJ45 side isn't working too. I didn't have the SD Card inserted during the tests.
My question is, how can this be done where if the lift is stopped in the middle of Up() before hitting the limitFloor I still need to keep it from going into the second state?
Why would the lift stop moving if it hasn't reached the limit switch?

Why would that matter? Whenever the lift could move again, it still needs to be moving up until it hits the limit switch.

Code: [Select]
  while (digitalRead(limitOpen) == LOW && digitalRead(limitDeploy) == LOW && digitalRead(limitFloor) == LOW)
    digitalWrite (up, LOW);

How many times is that statement going to iterate? Why do you need to keep setting the up pin LOW? Why does the up variable not have Pin in it's name? Why do none of the other variables that contain pin numbers not have Pin in the name?

What do limitOpen and limitDeploy mean?
Bar Sport / Re: Your latest purchase
Last post by LarryD - Today at 07:15 pm

Le bar / qui pourrait m'aider ?
Last post by cymerej - Today at 07:15 pm
bonjour sur la con figuration d'une imprimante 3D sur un arduino 1.6.12 

j'ai un message erreur comme ce lui ci. Qui serais m'expliquer comment faire pour la corriger

merci l'équipe !!

PS: désoler pour les fautes

 Arduino : 1.6.12 (Windows 8), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\Marlin_main.cpp:2206:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]



In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {


In file included from sketch\Marlin.h:10:0,

                 from sketch\Marlin_main.cpp:30:

c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;


sketch\Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':

sketch\Marlin_main.cpp:829:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]



exit status 1
using typedef-name 'fpos_t' after 'struct'

Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
Français / Re: Variation d'intensité d'un...
Last post by rjnc38 - Today at 07:15 pm
Du coup, mes résistances de LED sont quand même bonne ? j'ai 5 série de 3 leds avec resistance de 59 ohms
oui ça "semble" bon si tu as bien prévu une résistance par branche, après il faut essayer et ajuster selon ton besoin ....
Just getting up, still a bit fuzzy but aren't the In Circuit Serial Programming pins also the SPI pins?
Sorry you can close the topic found the solution here:
I'm trying just to connect the NodeMCU to the server and to be able to send/recieve infromation from the server And vice versa!
Pages: 1 ... 7 8 [9] 10

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131