Recent Posts

Pages: [1] 2 3 ... 10
1
Français / Re: Encore et toujours des var...
Last post by cbrandt - Today at 09:18 pm
J'en m'auto-cite (post #12 d'il y a trois semaines...):
Quote
Dans ta comparaison, tu appelles rtc.getTimeStr() sans paramètre, ne faudrait-il pas mettre rtc.getTimeStr(FORMAT_SHORT) ?
2
Displays / Re: Good Dispay ePaper for Ard...
Last post by ZinggJM - Today at 09:17 pm
Serial is a standard library with the Arduino IDE. It is available on all platforms supported by the Arduino IDE.

I am not going to check, but I think I read several times D3 or D32, but certainly not 10 times wemos d32 pro. BTW what is Wemos D32 pro? ESP32? ESP8266?
3
Software / Re: Spiegazioni per millis()
Last post by gpb01 - Today at 09:17 pm
if (millis() =4000) {
    digitalWrite (3, HIGH) }
... sicuro che Arduino esegua quella linea esattamente al millisecondo 4000 ? No perché, se il programma arriva li al millisecondo 3999 o 4001 e non 4000 ... non funziona più !!! :D

Guglielmo
4
I want to work in arduino web editor on a sketch in collaboration with a friend.
.
Is that possible?
5
Software / Re: Display Oled 20x04
Last post by gpb01 - Today at 09:15 pm
Le risposte sono nel tuo secondo link ...
... c'è tutta la documentazione, il datasheet del controller, i comandi che esso usa e i driver già scritti in 'C' con i comandi che tu cerchi ... basta avere tempo e studiare "ssd13xx_20x4_oled.c" (... e magari anche gli altri sorgenti).

Il codice ho visto è ben scritto e commentato, quindi ... forza e coraggio ;)

Guglielmo
6
Software / Re: Arduino micro Sd Lectura
Last post by surbyte - Today at 09:14 pm
En la librería SD hay ejemplos de varias clases uno se llama ReadWrite.ino y es este

Code: [Select]
#include <SPI.h>
#include <SD.h>

File myFile;

void setup() {
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }


  Serial.print("Initializing SD card...");

  if (!SD.begin(4)) {
    Serial.println("initialization failed!");
    while (1);
  }
  Serial.println("initialization done.");

  // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.
  myFile = SD.open("test.txt", FILE_WRITE);

  // if the file opened okay, write to it:
  if (myFile) {
    Serial.print("Writing to test.txt...");
    myFile.println("testing 1, 2, 3.");
    // close the file:
    myFile.close();
    Serial.println("done.");
  } else {
    // if the file didn't open, print an error:
    Serial.println("error opening test.txt");
  }

  // re-open the file for reading:
  myFile = SD.open("test.txt");
  if (myFile) {
    Serial.println("test.txt:");

    // read from the file until there's nothing else in it:
    while (myFile.available()) {
      Serial.write(myFile.read());
    }
    // close the file:
    myFile.close();
  } else {
    // if the file didn't open, print an error:
    Serial.println("error opening test.txt");
  }
}

void loop() {
  // nothing happens after setup
}


Hace lo que tu hiciste guardar algo y luego al final lo lee
Usa esa guia para leer los datos en tu setup() asignar los valores de hora, minuto, etc a tus variables y seguir desde ahi.
7
Some times the Answer is very simple...!
Same thing was happening wid my s7 edge
Arduino was powered up but not found by device,
I tried alot even finding for otg drivers
Nothing was helped

Finally just tried to change that OTG CABLE
And boom it worked lolzzz

It may be because the power wire works inside otg cable but deta wire don't function well...

So just try to change otg cable :)
Wish u a good luck...!
8
Project Guidance / Re: Arduino Messenger with hol...
Last post by AWOL - Today at 09:14 pm
What imaging hardware do you have in mind for "to project a usable keyboard"?
The sort you can buy for about €30?
9
Thank you guys very much for the help. This is the code that i'm trying do modify to my project

 https://github.com/engineertype/MAX31855/commit/ac83dd8d761a79203e08e7365d8b8933cc1d17df
And are you getting reasonable values from that code?

Paul
10
Programming Questions / Re: switch case newb
Last post by evanmars - Today at 09:11 pm
Once you get the switch case syntax correct you won't be doing much switching until you fix these two errors.

Code: [Select]
[code]if (count = 4);{

And this one
Code: [Select]
if (dimmerPin==LOW);{
Pages: [1] 2 3 ... 10