Recent Posts

Pages: [1] 2 3 ... 10
i created a database in XAMPP in order to insert the results from the arduino. I am using the arduino uno with the sim7000 arduino expansion shield.
Displays / Re: Blue 2.8 inch OLED Display...
Last post by david_prentice - Today at 05:13 pm
I don't believe you.   I used the constructor from #10 in the GraphicsTest example from U8g2lib library.
And built for a Uno:
Code: [Select]

Using library U8g2 at version 2.22.18 in folder: C:\Users\David Prentice\Documents\Arduino\libraries\U8g2
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.1\hardware\arduino\avr\libraries\SPI
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino-1.8.1\hardware\arduino\avr\libraries\Wire
Sketch uses 24224 bytes (75%) of program storage space. Maximum is 32256 bytes.
Global variables use 1119 bytes (54%) of dynamic memory, leaving 929 bytes for local variables. Maximum is 2048 bytes.

So there is plenty of space for both Flash and SRAM on a Uno.
Obviously it is too big for a 16kB Duemilanove but should fit on a 32kB Duemilanove.
It should even fit on a Leonardo i.e. 27258 bytes (95%) of program storage space, 1258 bytes (49%) of dynamic memory.

Make sure that you use the correct constructor e.g.
Code: [Select]
U8G2_SSD1322_NHD_256X64_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); // Enable U8G2_16BIT in u8g2.h

Note that you should edit src/clib/u8g2.h in the library to define U8G2_16BIT

Make sure that you get the Library examples working first.

Then ZIP up your program and attach it.   We can probably help.

Deutsch / Re: CAN mit Arduino funktionie...
Last post by GreyDiamond - Today at 05:13 pm

Also ich habe mich 100%ig an das Beispiel gehalten. CS ist auch an PIN 10. Und H ist mit H verbunden und L mit L. Also, noch andere Ideen??
you could use Switch Case and put the "all off" into the default

Français / Re: test if
Last post by lesept - Today at 05:12 pm
40 en hexa vaut 1000000 en binaire, donc c'est le 7ème bit. Un int est codé sur 16 bits, donc ce n'est pas le plus à gauche, il est vers le milieu :)

Damned: grillé par fdufnews ...
Hi! As I've once read in every day we should help in little ways to increase our karma. When you see someone is in need of advice, try to be helpful. Even if it seems easy for you, some can really not know the answer...
Français / Re: test if
Last post by fdufnews - Today at 05:11 pm
Si tu parles bien d'un mot de 8 bits, avec le MSB ce serait 0x80
Project Guidance / Re: GSM + GPS tracker with min...
Last post by ardly - Today at 05:11 pm
You are not going to be able to build anything small and light enough to fit onto a cat with an Arduino.
As well as GPS and GPRS you need a power supply and the whole thing needs to be rugged and waterproof.
Those long delays in your code will prevent the keypad from being responsive.  You have to re-write the code to NOT use delay.

Am I doing something wrong? It ain't a bug?
Yes you are doing something wrong and it is a bug in your code!

Pages: [1] 2 3 ... 10