#Elfacun settings #Edit this file (settings.txt) and place it in the root directory of an SD card compatible with SPI mode (most micro-sd aren't) #Power up the module with the SD inserted (you don't need to have the module inserted into the board) #The settings will be read and stored in permanent memory #Remove the SD card and use the module normally #If you also want to perform a system update place in the SD card root directory the file "update.bin" #Base MAC address. If not defined, the module will use the default MAC assigned at the factory #so it is not recommended to modify it unless you have any problem #Bluetooth MAC will be base MAC plus 2 # #base.mac.address=12:34:56:78:9A:BC #Default board mode #This is the mode the module will boot at by default #Valid values are: A, B, C #Default value is A #The serial port will operate at 9600 8N1 in mode A #The serial port will operate at 38400 bauds 7O1 in mode B #To boot the module in the non-default mode, keep pressed the left-most module button while booting # mode.default=A #Bluetooth name advertised in mode A #Default value is "ELFACUN CHESS" # #mode.a.bt.advertised.name=ELFACUN CHESS #Bluetooth name advertised in mode B #Default value is "ELFACUN CHESS" # #mode.b.bt.advertised.name=ELFACUN CHESS #Bluetooth name advertised in mode C #Default value is "ELFACUN CHESS" # #mode.c.bt.advertised.name=ELFACUN CHESS #Mode A board identification parameters #Uncomment to get custom board identification values sent to the driver #mode.a.trademark is an arbitrary string #serial.number.long has to be exactly 10 characters long #serial.number.short has to be exactly 5 characters long #version numbers are numbers between 0 and 255 # #mode.a.trademark=Elfacun https://elfacun.eu #mode.a.version.major=0 #mode.a.version.minor=60 #mode.a.clock.version.major=2 #mode.a.clock.version.minor=0 #mode.a.serial.number.long=3.24000000 #mode.a.serial.number.short=00001 #Buzzer enabled #Valid values are true, false #Default value is true #To boot the module with the opposite value, keep pressed the right-most button while booting # buzzer.enabled=true #Buzzer enabled for passive led indications on screen #Valid values are true, false #Default value is true #When in passive mode with original modules Elfacun cannot use the on-board leds #so it uses the screen to indicate incoming led information. When this is enables the led #indications on-screen are accompanied by sounds # buzzer.enabled.passive.led=true #Buzzer tones setup #You can change the frequency and duration of the sound tones: #Tone 1 is piece raise #Tone 2 is piece placement #Tone 3 is led sound for passive mode #Frequency is in hertzs #Duration is in milliseconds # #buzzer.tone.1.frequency=2000 #buzzer.tone.1.duration=100 # #buzzer.tone.2.frequency=1000 #buzzer.tone.2.duration=100 # #buzzer.tone.3.frequency=1500 #buzzer.tone.3.duration=20 #LEDS enabled #Valid values are true, false #Default value is true #To boot the module with the opposite value, keep pressed the second right-most button while booting # leds.enabled=true #DUAL LEDS enabled (Only V2 modules) #Valid values are true, false #Default value is false #When a V2 module starts in passive mode and this parameter is enables, the module will scan for the #presence of other Elfacun module (V1 or V2) using BLE. If it finds it, it will start a BLE connection to #relay its LED status, so both modules will be able to control the board LEDs #It is disabled by default as it only makes sense if you have two modules and with the feature disabled the #passive mode startup will be faster # leds.dual.enabled=false #REVELATION-II button order #Valid values are true, false #Default value is false #If set to true, the first button will be the "change lever" button when operating in DGT mode, like in the Revelation-II board #If set to false, the last button will be the "change lever" button # buttons.order.revelation=false #Lichess mode settings #Connection settings, you have to uncomment and complete them in order to be able to connect to lichess #That is, you WIFI settings (ssid and password) and your lichess auth token # #lichess.wifi.ssid=YOUR_WIFI_NAME #lichess.wifi.password=YOUR_WIFI_PASSWORD #lichess.wifi.authtoken=YOUR_LICHESS_TOKEN # # #Lichess board auto-reverse settings #If auto-reverse is enabled and you play as black, the board is automatically reversed so you have to put the black pieces on the first rank #If auto-reverse is disabled and you play as black, the board is not automatically reversed so you have to play black from the back of the board unless you manually reverse the board #Setting is disabled by default (false) #lichess.board.autoinvert=false # # #Lichess play mode settings #While not in a game: #Buttons 1 to 6 are used to launch a challenge #Once launched, you can cancel it pressing any button #While in a game: #Button 4 pushed twice offers take back #Button 5 pushed twice offers a draw #Button 6 pushed twice resigns #You can edit the default mode definition. All the games are "standard" chess #Game modes under 5 minutes are not allowed by Lichess being too fast for a physical board #Game mode variables are: # time -> Game time in minutes # time -> Increment per move in seconds # rated -> if the game is rated ("true") or unrated ("false") # color -> your pieces color ("white", "black" or "random") # elo -> The desired ELO range of the opponents ("none" to disable, or a range like "1500-1800") # #lichess.mode.1.time=10 #lichess.mode.1.increment=0 #lichess.mode.1.rated=true #lichess.mode.1.color=random #lichess.mode.1.elo=none # #lichess.mode.2.time=10 #lichess.mode.2.increment=5 #lichess.mode.2.rated=true #lichess.mode.2.color=random #lichess.mode.2.elo=none # #lichess.mode.3.time=15 #lichess.mode.3.increment=10 #lichess.mode.3.rated=true #lichess.mode.3.color=random #lichess.mode.3.elo=none # #lichess.mode.4.time=10 #lichess.mode.4.increment=0 #lichess.mode.4.rated=false #lichess.mode.4.color=random #lichess.mode.4.elo=none # #lichess.mode.5.time=10 #lichess.mode.5.increment=5 #lichess.mode.5.rated=false #lichess.mode.5.color=random #lichess.mode.5.elo=none # #lichess.mode.6.time=15 #lichess.mode.6.increment=10 #lichess.mode.6.rated=false #lichess.mode.6.color=random #lichess.mode.6.elo=none # #Screen brightness (Only V2 modules) #Only for V2 modules, will be ignored on V1 modules #Overrides the stored default screen brightness #Valid values: 5-255 #Default value: 64 # screen.brightness.default = 64 #Disable mode B checksum #On R8 release checksum checking on incoming mode B messages has been enabled by default #You can optionally disable it in case it is problematic with any app #Valid values are true, false #Default value is false # #parity.check.disabled=false #Bluetooth power #Set the ble and bluetooth classic power level #it can help working with devices that are far away from the board #It is not recommended to change this value unless you have BT reliability issues #The valid values are 0-7 #The default value is 5 #bluetooh.power=0 -----> Corresponding to -12dbm #bluetooh.power=1 -----> Corresponding to -9dbm #bluetooh.power=2 -----> Corresponding to -6dbm #bluetooh.power=3 -----> Corresponding to -3dbm #bluetooh.power=4 -----> Corresponding to 0dbm #bluetooh.power=5 -----> Corresponding to +3dbm #bluetooh.power=6 -----> Corresponding to +6dbm #bluetooh.power=7 -----> Corresponding to +9dbm # #bluetooth.power=5