Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

About zzLLabnip

  • Rank

Recent Profile Visitors

161 profile views
  1. zzLLabnip

    Lwclone On Arduino Mega 2560

    @ above: Did you use the right ledwiz.dll file? For the PCB board (with wemos?) is there a schematic (and partlist) available? I like to build one with kicad, will share result. ps. latest builds has no pinmap.h anymore?
  2. zzLLabnip

    Lwclone On Arduino Mega 2560

    @Aetios Thnx, you're my hero now
  3. zzLLabnip

    Lwclone On Arduino Mega 2560

    How to use the shift switch index? Can't get the 2nd key function to work. If pin 14 is grounded it registers KEY_9 (also tried to make it 0 but did not help.) But all buttons keep their 1st key assignment #define SHIFT_SWITCH_INDEX 14 #define PANEL_MAPPING_TABLE(_map_) \ \ _map_( E, 5, MOD_RightControl, KEY_Enter ) /* 3*/ \ _map_( G, 5, MOD_RightShift, KEY_P ) /* 4*/ \ _map_( H, 3, MOD_LeftControl, KEY_5 ) /* 6*/ \ _map_( H, 4, MOD_LeftShift, KEY_1 ) /* 7*/ \ _map_( H, 6, KEY_Enter, KEY_UpArrow ) /* 9*/ \ _map_( B, 4, KEY_Space, KEY_DownArrow ) /*10*/ \ _map_( B, 5, KEY_L, KEY_RightArrow ) /*11*/ \ _map_( B, 6, KEY_Z, KEY_LeftArrow ) /*12*/ \ _map_( J, 1, KEY_9, 0 ) /*14*/ \ _map_( C, 7, KEY_5, MOD_LeftControl ) /*30*/ \ _map_( C, 5, KEY_6, MOD_LeftAlt ) /*32*/ \ _map_( C, 3, KEY_7, KEY_Space ) /*34*/ \ _map_( C, 1, KEY_1, MOD_LeftShift ) /*36*/ \ _map_( D, 7, KEY_P, KEY_Z ) /*38*/ \ _map_( G, 1, KEY_Enter, KEY_X ) /*40*/ \ \ /* end */ and question 2: Is there maybe a complete keymap available somewhere? would like to add keys : / , ` .and \
  4. zzLLabnip

    Lwclone On Arduino Mega 2560

    If there are people having problems to make a working setup for flashing or compiling maybe this helps. Flashing: Different method, little bit more work and an usbasp is needed. But with easy visual interfaces and no need for the bat files or to set fuses first. Need: -USBASP with connector for 6p ICSP -arduino_mega2560__m16u2.hex file -arduino_mega2560__m2560.hex file -Zadig; Software to install libusb-win32 driver for USBASP -eXtreme Burner - AVR; Programmer software with GUI (free but registered download) Steps: -Connect usbasp -Install/config Zadig + eXtremeburner. -Open eXtreme Burner. -Choose the right hex file and chiptype -Click "write all" to flash (this also sets the fuses) -Do this for both chips on the mega. -Done. Backup; Maybe save reading from chips as a hex file first. Restore Arduino bootloader; Do the same steps but with the original hex files Compiling your own pinmap: Didn't want to mess to much with my Windows System. so I used a linux virtualmachine for compiling Need: -Virtualbox installed and working -Linux VirtualBox image (a ready to go lubuntu image can be downloaded from http://www.osboxes.org Steps: -Start the linux virtual machine and open a terminal in it -Type the following (Press enter after each sentence, when promped type password): sudo apt update sudo apt upgrade sudo apt install aptitude sudo apt install git sudo aptitude install avrdude avrdude-doc binutils-avr avr-libc gcc-avr git clone https://github.com/cithraidt/lwcloneu2.git -in terminal go to the lwcloneu2 folder and type: git submodule update --init -make the adjustments to pinmap.h (and devconfig.h) in ..\firmware\arduino_mega2560\.. folders -in terminal go to the lwcloneu2 folder and type: make -If no compile errors The flashable hex files are now ready. Also have a question: How does the shift keyfunction work? Does it have a designated key or can one assign a key of choise? Also what does the number 13 in "#define SHIFT_SWITCH_INDEX 13" do?