Recent Posts

Pages: [1] 2 3 ... 10
1
Make sure that you only have one library with the name LiquidCrystal_I2C .

The github link you posted does show the correct treatment of the return value from the code at line 206-208.

Code: [Select]
inline size_t LiquidCrystal_I2C::write(uint8_t value) {
send(value, Rs);
return 1;
}
2
Deutsch / Re: Frage zum PinInput High & ...
Last post by guntherb - Today at 09:01 pm
Pullup?

Schaltplan wäre echt hilfreich.
3
Français / Re: Passer d'un code arduino à...
Last post by bricofoy - Today at 09:00 pm
si je puis me permettre, ça c'était déjà clair. ce qui l'est moins, c'est la nature des signaux qui doivent être transmis, et qui ne l'est toujours pas.
vous donnez des tensions par broche, mais c'est quoi ces tensions ? un maximum ? une tension fixe ? avec quel courant ? c'est très confus, pour le moment

Ce qui serait plus simple ce serait de nous donner la finalité de l'opération, à quoi ça doit servir ce montage ? (juste "basculer des signaux" n'est PAS la bonne réponse à la question...) ça nous permettrait sans doute de proposer quelquechose de fonctionnel
4
@RayLivingston
Code: [Select]
Serial.print()
 usually prints string not integer

the data read by
Code: [Select]
Serial.read()
 is String type
so i don`t get what (char) do
Wrong on both points.  Serial.read() returns an int.  What Serial.print prints depends on the type of the argument passed to it.  Pass an int, and it prints the numeric value of that int.  Pass a char, and it prints ASCII character corresponding to that char value.  Don't believe me?  Just try it.
Regards,
Ray L.
5
Generale / Re: errore su accensione led
Last post by pep123456 - Today at 08:56 pm
Non forse ma sicuramente non funziona. La RAM serve non solo alle variabili ma serve anche per altre informazioni che vengono memorizzate durante il funzionamento. Per queste informazioni non bastano 102 byte.

Dacci lo sketch attuale. Vediamo se si puó risparmiare RAM.

Ciao Uwe


innanzitutto vi ringrazio x la disponibilità,
vorrei sapere come allegare lo sketch visto che non mi fa aggiungere piu di 9000 caratteri, posso allegare lil files in altro modo oppure farlo in piu step??
6
Français / Re: Problème connectique ESP82...
Last post by J-M-L - Today at 08:56 pm
La sortie 3.3v du UNO ne peut pas fournir assez de jus pour un esp (50mA Max contre 320mA demande en pic et pas loin de 70 en régime de croisière)
7
Hi Everyone,

Fairly new to Arduino, but have started a project to build a digital dashboard for my car.

I have added a 16 channel MUX to allow me to have more than 6 analog inputs on my uno.

Once I built the MUX I tested it reading the serial monitor and got the following readings, I can't understand why there is a constant voltage to channels 8+. Surely this can't be normal.

There is absolutely nothing plugged into the input side of the MUX so I would have hoped for every channel to show 0%.

Code: [Select]
Potentiometer at channel 0 is at 0.00%%
Potentiometer at channel 1 is at 0.00%%
Potentiometer at channel 2 is at 0.00%%
Potentiometer at channel 3 is at 0.00%%
Potentiometer at channel 4 is at 0.00%%
Potentiometer at channel 5 is at 0.00%%
Potentiometer at channel 6 is at 0.00%%
Potentiometer at channel 7 is at 0.00%%
Potentiometer at channel 8 is at 17.69%%
Potentiometer at channel 9 is at 18.18%%
Potentiometer at channel 10 is at 18.28%%
Potentiometer at channel 11 is at 18.18%%
Potentiometer at channel 12 is at 18.08%%
Potentiometer at channel 13 is at 18.28%%
Potentiometer at channel 14 is at 17.99%%
Potentiometer at channel 15 is at 18.08%%


What are peoples thoughts on this?

Thanks
Joe
8
 
An LED blinking at 700 Hz would appear constantly on but dim, the brightness related to duty cycle, probably the same at 100 Hz, most people can't perceive blinking over 50 to 60 Hz, thats why the mains frequency is 50 - 60 Hz, so you can't see the light bulbs blinking.
Basic physics - you can't easily change the frequency of an LED, except perhaps, by cooling it.
Thanks for the tips you guys, any idea about what the teacher meant then?
But my trouble goes deeper than just that, i don´t really understand what the duty cycle does perhaps if i make the cycle small enough, the LED would Blink?
I also don ´t really understand what that bit of code that the teacher gave us is supposed to do, he just sort of wrote it on the board and told us " you guys should copy this you"re going to need it".
9
Français / Re: conflit ethenet et sd card
Last post by J-M-L - Today at 08:54 pm
Donc ça fonctionne bien puisque ça lit sur la carte SD

Ce qui est sur la carte SD est statique donc si vous voulez injecter des données dynamiquement ensuite il faut passer par JavaScrip / AJAX

Regardez mon début de tuto avancé sur l'ESP dans les tutos, globalement ce que je décrit fonctionnerait de la même façon avec une carte SD au lieu de lire dans le SPIFFS
10
Robotics / Re: Rubik's cube Robot solver
Last post by sandy_undefined - Today at 08:53 pm
The final claw should grip the cube (55mm) and open sufficiently (55 X 1.414, thanks pythagoras  ;)  ) to allow cube rotation

where is the use of pythagoras???
can u explain it plz!
Pages: [1] 2 3 ... 10