Search found 193 matches

by p0lyg0n1
20 Feb 2021 13:17
Forum: Z-Uno
Topic: Cannot include "EEPROM.h"
Replies: 6
Views: 148

Re: Cannot include "EEPROM.h"

Thanks,
We will inspect it. I'll post results here.

Best regards,
Alex.
by p0lyg0n1
18 Feb 2021 11:10
Forum: Z-Uno
Topic: Cannot include "EEPROM.h"
Replies: 6
Views: 148

Re: Cannot include "EEPROM.h"

Hi,
Please provide your sketch. We have no problems with EEPROM.h in another sketches.We need your code to reproduce the error.

Best regards,
Alex
by p0lyg0n1
04 Feb 2021 09:37
Forum: Z-Uno
Topic: Does multi-byte SPI transfer() work?
Replies: 4
Views: 125

Re: Does multi-byte SPI transfer() work?

Hi, I meant this uint8_t buffer[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; for (int j = 0; j < HX8357_TFTHEIGHT; j++) { for (int i = 0; i < HX8357_TFTWIDTH ; i++) { memset(buffer, 0, sizeof(buffer)); // You have to setup data before you use a buffer, because it was flooded on previous s...
by p0lyg0n1
03 Feb 2021 20:16
Forum: Z-Uno
Topic: Does multi-byte SPI transfer() work?
Replies: 4
Views: 125

Re: Does multi-byte SPI transfer() work?

Hi, Try this code: // ... uint8_t buffer[] = {0,0}; // USE brackets [] for array to define it right way // ... SPI.transfer(buffer, sizeof(buffer)); This have to work. Notice that ucxx will constract the arrays inside the global area, because of small amount of stack for this architecture. So, you c...
by p0lyg0n1
01 Feb 2021 15:30
Forum: Z-Uno
Topic: problems with shield pins
Replies: 1
Views: 88

Re: problems with shield pins

Hi, 1) Pin11 is used as OneWire bus pin on the shield. It has pull-up resistor. Seems that's why the relay is always on. 2) Pin12 doesn't have "hardware" pull-up. I don't know why it has logic 1 level in your case. Which type of relay do you use? Is it a module or original electromechanica...
by p0lyg0n1
25 Dec 2020 18:45
Forum: Z-Uno
Topic: Location of configuration parameters in EEPROM
Replies: 2
Views: 207

Re: Location of configuration parameters in EEPROM

Hi Jack, 1) You can restoreNVM and dumpNVM of EEPROM's "userspace" only. They use the same address area as EEPROM.get/EEPROM.read methods. So you can modify user area of EEPROM. You can't corrupt system area of EEPROM by means of this. 2) Yes, you are right: user configuration parameters o...
by p0lyg0n1
19 Nov 2020 15:23
Forum: Z-Uno
Topic: Display issue with an OLED
Replies: 4
Views: 355

Re: Display issue with an OLED

Hi, 1. About OLED: the simpliest way is method void fillRect(byte w, byte h, byte fill); oled.gotoXY(needed_x_in_pixels,needed_y_in_pixels/8); oled.fillRect(needed_x_size_in_pixel, needed_y_size_in_pixels/8, 0); 2. If you have some problems with stack don't use map() function. It's to fat for i8051,...
by p0lyg0n1
19 Nov 2020 15:18
Forum: Z-Uno
Topic: New Z-Uno release 2.1.6
Replies: 3
Views: 616

Re: New Z-Uno release 2.1.6

Hi,
please provide a code.

Best regards,
Alex.
by p0lyg0n1
19 Nov 2020 15:05
Forum: Z-Uno
Topic: z-uno compiler error
Replies: 7
Views: 469

Re: z-uno compiler error

Hi,
It's strange, because it already has #include "Print.h" which includes Arduino_types.h
Please provide an example (sketch code). I didn't see this issue before.

Best regards,
Alex.
by p0lyg0n1
28 Oct 2020 15:35
Forum: Z-Uno
Topic: Libraries with external .h files (especially Wiegand)
Replies: 1
Views: 223

Re: Libraries with external .h files (especially Wiegand)

Hi, 1) There is no direct way to add any library from LibraryManager to Z-Uno without "porting". You have to port it first. ZUno has some restrictions in language, in hardware and stack usage. 2) You can find some libraries already ported to Z-Uno inside its cores directory. ZUNO_DHT, ZUNO...