Search found 13 matches

by AndreasR
Fri Sep 03, 2021 12:49 pm
Forum: Bug Reports
Topic: Arduino Leonardo programming (HID)
Replies: 10
Views: 5264

Re: Arduino Leonardo programming (HID)

Ben, here's another information for you. Yu wrote about FC 8 compiler and that it maybe working fine. So i tried FC8 (got a licence too) that i have installed. I wrote the small programm into a new FC8 project and tried to compile. Errors came too. See the attachment. So i only can hope that this ch...
by AndreasR
Fri Sep 03, 2021 12:18 pm
Forum: Bug Reports
Topic: Arduino Leonardo programming (HID)
Replies: 10
Views: 5264

Re: Arduino Leonardo programming (HID)

Hi Ben,
sorry i forgot to change the compiler.
I changed it now and compiled to hex but,,,
Here is the error code.
PS4-KeySim.msg.txt
(8.9 KiB) Downloaded 127 times
Andreas
by AndreasR
Thu Sep 02, 2021 6:39 pm
Forum: Bug Reports
Topic: Arduino Leonardo programming (HID)
Replies: 10
Views: 5264

Re: Arduino Leonardo programming (HID)

Hi Ben,
your advisory does not work :-(

I had done the modifications u wrote
and tried both compiler parameters.
The errors i got are identical.
Please see the attachments.

Hope u have another idea to cutoff this node
Andreas
by AndreasR
Wed Sep 01, 2021 6:28 pm
Forum: Bug Reports
Topic: Next Bug in Arduino Leonardo
Replies: 1
Views: 1262

Next Bug in Arduino Leonardo

I found the next bug. Using a Leonardo an trying the "L" LED test. L LED is at PIN C7 Compile to HEX Error: "X:\temp\Leonardo test.c:99:3: note: in expansion of macro 'SET_PORT_PIN' SET_PORT_PIN(A, 0, 1 - 1); Error returned from [avr-gcc.exe]" If i compile and upload the original Example from Arduin...
by AndreasR
Wed Sep 01, 2021 5:59 pm
Forum: Bug Reports
Topic: HID macro including unable to compile to chip
Replies: 1
Views: 1204

HID macro including unable to compile to chip

Seems to be a bug in the HID macro... The help file of the HID macro says it is in beta phase when using Arduino. Here are the facts. A small programm should send some keycodes to USB connection in an endless loop. I used the HID macro found in comms section. First try was an Arduino Leonardo with n...
by AndreasR
Wed Sep 01, 2021 5:40 pm
Forum: Bug Reports
Topic: Arduino Leonardo programming (HID)
Replies: 10
Views: 5264

Re: Arduino Leonardo programming (HID)

Hi Martin, i think this is not a problem of the Leonardo but it may be a problem of the HID macro. I have the same problem in a very small programm. A Leonardo should play some keycodes to the USB connection, not more. I tried to compile it to chip and got the same error. "D:\temp\USB_HID_Keyboard.c...
by AndreasR
Thu Aug 26, 2021 5:43 pm
Forum: Projects - Embedded
Topic: Arduino mega 2560 and GLCD ST7920
Replies: 5
Views: 3145

Re: Arduino mega 2560 and GLCD ST7920

Here i'm back again, The 8 bit mode does not work too. I tested all the connections and the functionality of the diaplay and the Arduino Mega 2560 by programming the original Arduino Code to the testsystem and set PIN 15 from 5V to GND to change the display to SPI mode. And voila the display schows ...
by AndreasR
Thu Aug 26, 2021 4:36 pm
Forum: Projects - Embedded
Topic: Arduino mega 2560 and GLCD ST7920
Replies: 5
Views: 3145

Re: Arduino mega 2560 and GLCD ST7920

Hi Ben, the original project was written in Arduino IDE from me. In there the display was connected via SPI and it works fine. Next Step is to leave Arduino IDE and change the programming language to FC 9. First idea was using exactly the hardware configuration from Arduino IDE. But i only found the...
by AndreasR
Wed Aug 25, 2021 4:49 pm
Forum: Projects - Embedded
Topic: Arduino mega 2560 and GLCD ST7920
Replies: 5
Views: 3145

Re: Arduino mega 2560 and GLCD ST7920

Dear Ben, you make me glad :-) Here are some hints for your work. The Dispaly is able to work in serial and paralle mode. Here are the PIN Descriptions: Display Pin 1 = Vss = GND = 0V Display Pin 2 = Vdd = Plus = +5V (4mA) Display Pin 3 = NC (not connencted) Display Pin 4 = RS CS(SS) chip select SPI...
by AndreasR
Tue Aug 24, 2021 6:07 pm
Forum: Projects - Embedded
Topic: Arduino mega 2560 and GLCD ST7920
Replies: 5
Views: 3145

Arduino mega 2560 and GLCD ST7920

i'm not sure if it is a bug or i'm not able to do my job :-( for a project i try to use the arduino mega 2560, no not the 2560R3, and a GLCD 128x64 with the ST7920 controller. The small project exists in arduino IDE and works fine. In Arduino IDE i used the U8g2lib to speak to the GLCD via SPI (seri...