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
Search found 242 matches
- 18 Feb 2021 11:10
- Forum: Z-Uno
- Topic: Cannot include "EEPROM.h"
- Replies: 8
- Views: 8942
- 04 Feb 2021 09:37
- Forum: Z-Uno
- Topic: Does multi-byte SPI transfer() work?
- Replies: 4
- Views: 16464
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...
- 03 Feb 2021 20:16
- Forum: Z-Uno
- Topic: Does multi-byte SPI transfer() work?
- Replies: 4
- Views: 16464
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...
- 01 Feb 2021 15:30
- Forum: Z-Uno
- Topic: problems with shield pins
- Replies: 1
- Views: 2789
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...
- 25 Dec 2020 18:45
- Forum: Z-Uno
- Topic: Location of configuration parameters in EEPROM
- Replies: 2
- Views: 2597
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...
- 19 Nov 2020 15:23
- Forum: Z-Uno
- Topic: Display issue with an OLED
- Replies: 4
- Views: 3717
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,...
- 19 Nov 2020 15:18
- Forum: Z-Uno
- Topic: New Z-Uno release 2.1.6
- Replies: 3
- Views: 3272
Re: New Z-Uno release 2.1.6
Hi,
please provide a code.
Best regards,
Alex.
please provide a code.
Best regards,
Alex.
- 19 Nov 2020 15:05
- Forum: Z-Uno
- Topic: z-uno compiler error
- Replies: 7
- Views: 5989
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.
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.
- 28 Oct 2020 15:35
- Forum: Z-Uno
- Topic: Libraries with external .h files (especially Wiegand)
- Replies: 1
- Views: 2270
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...
- 21 Oct 2020 09:02
- Forum: Z-Uno
- Topic: Error when compiling custom class
- Replies: 3
- Views: 3027
Re: Error when compiling custom class
Hi, 1. Add any field to class. For example int a. Your class has no fields. microC++ doesn’t support classes without fields. 2. Please post a code (about double). We will help you. You have to rewrite library a little to make it work with Z-Uno. You can look to libraries folder of Z-Uno cores to see...