You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I recently started putting everything up together and continued by flashing firmware to the Pro Micro. However one of the issues were there was not specified which exact libraries to install. Oftentimes, there are multiple libraries under the same name with small differences (e.g. author, some additions in name etc.). You also mentioned AdvMouse library in the PDF to be installed as ZIP archive but there is no such archive available in the specified repo you are refering to. There is just .cpp and .h file named like it. I noticed all libraries have file structure such as library.properties, some side files and the "src" folder in which are typically those files located. So i created new folder in Arduino Libraries folder, in which i created another subfolder called "src" in which i put those .cpp and .h files. Then i restarted the Arduino IDE and it seemed to work. The library installed and the firmware compiled and uploaded to the Pro Micro. However, there was some strange behaviour to it.
Console logs:
Sketch uses 14624 bytes (51%) of program storage space. Maximum is 28672 bytes.
Global variables use 473 bytes (18%) of dynamic memory, leaving 2087 bytes for local variables. Maximum is 2560 bytes.
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
and all lines below the Global variables use 473 bytes (18%) of dynamic memory, leaving 2087 bytes for local variables. Maximum is 2560 bytes. line was red although no explicit error was shown. That was first warning for me.
The second one is, each time i plug in the Pro Micro (just the pro micro, nothing attached to it), the cursor travels to the very left top edge of screen. I just want to ask if this behaviour is expected and is right (together with the logs)?
PS: While sordering, i didn't put the header pins perfectly straight against the custom PCB on the sensor side so i had to de-sorder it and that caused i torn away some paths from the PCB itself. Luckily i have 4 more of the PCBs. But generally i think there is some room for improvement in this area.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I recently started putting everything up together and continued by flashing firmware to the Pro Micro. However one of the issues were there was not specified which exact libraries to install. Oftentimes, there are multiple libraries under the same name with small differences (e.g. author, some additions in name etc.). You also mentioned AdvMouse library in the PDF to be installed as ZIP archive but there is no such archive available in the specified repo you are refering to. There is just .cpp and .h file named like it. I noticed all libraries have file structure such as library.properties, some side files and the "src" folder in which are typically those files located. So i created new folder in Arduino Libraries folder, in which i created another subfolder called "src" in which i put those .cpp and .h files. Then i restarted the Arduino IDE and it seemed to work. The library installed and the firmware compiled and uploaded to the Pro Micro. However, there was some strange behaviour to it.
Console logs:
and all lines below the
Global variables use 473 bytes (18%) of dynamic memory, leaving 2087 bytes for local variables. Maximum is 2560 bytes.line was red although no explicit error was shown. That was first warning for me.The second one is, each time i plug in the Pro Micro (just the pro micro, nothing attached to it), the cursor travels to the very left top edge of screen. I just want to ask if this behaviour is expected and is right (together with the logs)?
PS: While sordering, i didn't put the header pins perfectly straight against the custom PCB on the sensor side so i had to de-sorder it and that caused i torn away some paths from the PCB itself. Luckily i have 4 more of the PCBs. But generally i think there is some room for improvement in this area.
Beta Was this translation helpful? Give feedback.
All reactions