Installation of retrowatch

im trying to programme my arduino nano

it gives me an error to programm the OLED is not coming on

PROGMEM const unsigned char* bitmap_array[ ICON_BITMAP_32] = {

For informed help, please read and follow the instructions in the how to use the forum post.

Post the code, using code tags, and post examples of the error messages.

apologies,

please see below the codes

//----- Add new icon to below array
//----- You can access icon by index
PROGMEM const unsigned char* bitmap_array[ ICON_BITMAP_32] = {
};const char* weekString PROGMEM = {…};
/*
/*

  • Check icon name. It's arranged by the sequence of icon array.

Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Nano, ATmega328P"

In file included from C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:35:0:

bitmap.h:1270:39: error: stray '\342' in program

};const char* weekString PROGMEM = {…};

                                   ^

bitmap.h:1270:40: error: stray '\200' in program

};const char* weekString PROGMEM = {…};

                                    ^

bitmap.h:1270:41: error: stray '\246' in program

};const char* weekString PROGMEM = {…};

                                     ^

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1299:78: warning: character constant too long for its type

/tmp/371558272/build/sketch/Timing.h:6:1: error: expected initializer before 'bool'

                                                                          ^~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1309:35: warning: character constant too long for its type

bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                               ^~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1309:118: warning: character constant too long for its type

bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:35:0:

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1312:39: warning: character constant too long for its type

sketch_jun13a:123:32: error: variable 'weekString' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                   ^~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1312:120: warning: character constant too long for its type

sketch_jun13a:123:32: error: variable 'weekString' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1315:39: warning: character constant too long for its type

sketch_jun13a:124:32: error: variable 'ampmString' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                   ^~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1315:120: warning: character constant too long for its type

sketch_jun13a:124:32: error: variable 'ampmString' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1318:39: warning: character constant too long for its type

sketch_jun13a:161:30: error: variable 'strIntro' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                   ^~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1318:118: warning: character constant too long for its type

sketch_jun13a:161:30: error: variable 'strIntro' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1322:10: warning: character constant too long for its type

variable 'bitmap_array' must be const in order to be put into read-only section by

      ^~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1323:58: warning: character constant too long for its type

RetroWatchArduino_u8glib_spi.ino:163:30: error: variable 'strIntro' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                      ^~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1323:137: warning: character constant too long for its type

RetroWatchArduino_u8glib_spi.ino:163:30: error: variable 'strIntro' must be const in order to be put into read-only section by means of 'attribute((progmem))'

                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:42:0: warning: "SSD1306_LCDHEIGHT" redefined

#define SSD1306_LCDHEIGHT 64

In file included from C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:33:0:

C:\Users\joelene\Documents\Arduino\libraries\Adafruit_SSD1306/Adafruit_SSD1306.h:115:0: note: this is the location of the previous definition

#define SSD1306_LCDHEIGHT 32 ///< DEPRECATED: height w/SSD1306_128_32 defined

In file included from C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:35:0:

bitmap.h:1269:58: error: size of array 'bitmap_array' has non-integral type 'const unsigned char [32]'

PROGMEM const unsigned char* bitmap_array[ ICON_BITMAP_32] = {

                                                      ^

bitmap.h:1269:58: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

             from sketch\RetroWatchArduino.ino.cpp:1:

bitmap.h:1270:28: error: variable 'weekString' must be const in order to be put into read-only section by means of 'attribute((progmem))'

};const char* weekString PROGMEM = {…};

                        ^

In file included from C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\RetroWatchArduino.ino:35:0:

bitmap.h:1295:1: error: 'In' does not name a type

In file included from /tmp/371558272/build/sketch/Bicycle_Computer.h:4:0,

^~

bitmap.h:1303:30: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of 'attribute((progmem))'

PROGMEM const unsigned char* bitmap_array = {

                          ^~~~~~~~~~~~

bitmap.h:1303:30: error: conflicting declaration 'const unsigned char* bitmap_array'

C:\Users\joelene\Desktop\Ardunio\retrowatch-master\RetroWatch_Arduino\RetroWatchArduino\bitmap.h:1269:30: note: previous declaration as 'const unsigned char* bitmap_array [1]'

PROGMEM const unsigned char* bitmap_array[ ICON_BITMAP_32] = {

                          ^~~~~~~~~~~~

bitmap.h:1304:1: error: expected primary-expression before '^' token

^progmem

^

bitmap.h:1304:2: error: 'progmem' was not declared in this scope

^progmem

^~~~~~~

bitmap.h:1306:1: error: expected '}' before 'exit'

exit status 1

^~~~

bitmap.h:1308:1: error: 'In' does not name a type

In file included from /Users/john/Documents/Arduino/sketch_jun13a/sketch_jun13a.ino:32:0:

^~

exit status 1

stray '\342' in program

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Always post ALL the code, using code tags.

The code needs to be cleaned up. This sort of junk comes from using copy/paste on web pages. Perhaps you code post a link to where you found it.

bitmap.h:1270:39: error: stray '\342' in program

Messages like this are self explanatory. The code predates the "const" requirement and must be updated.

bitmap.h:1269:58: error: variable 'bitmap_array' must be const in order to be put into read-only

thank you for the assistance

Please see below the link to all the codes

Great, so you corrected the embedded characters and it works fine now?

it finally came on, but the display shows Batlab

What are we supposed to understand from that? What do you expect to see?

Hi there,

apologies, this is a school project that we trying to make, we have watched a video of making a smart glasses, the video looked simple enough to programm.

we have completed the connection, however the programming on the arduino nano is not working according to the video

I don't have time to sit and watch videos. You have to explain how it works, and in what way it's not working as in the video.

Also, please go back and read reply #2, respond to the requests there.

im expecting to see the time display, the project is supposed to like a smart watch just that now its a glasses,

can i clear the coding and start again

do you have a coding to program the retrowatch on arduino nano

Due to this being a first time for coding, i am not sure how to find the correct code to load onto the OLED.

The coding needs to be a retrowatch working together with a HC- 05 Blue tooth

Under the YouTube video, click on the "more" tab, there are links to the sketch so you can download it without errors.