Post Reply 
HP Prime BEEPER.
05-25-2023, 12:30 PM
Post: #7
RE: HP Prime BEEPER.
(05-24-2023 09:35 AM)Stevetuc Wrote:  
(05-24-2023 01:09 AM)matalog Wrote:  Finally the HP Prime gets a voice :-).




Very nice indeed!

Are you using the native arduino command:

tone(buzzerPin, freq,duration);

Sent via USBSend({}) as series of bytes?

I have the ProMicro Atmegu32U4 which I think is shown in your vid. Did you install Arduino HID from here:
https://github.com/NicoHood/HID

Could you upload the Prime prog? Smile


I am not using the native Arduino command, I am using a modified version of another Arduino library called ezbuzzer https://reference.arduino.cc/reference/e.../ezbuzzer/ - it should be able to play in the background and not delay the running of other aspects of the program.

I am sending the instructions to ezbuzzer as sets of bytes to Arduino through USBSend(). Every packet received on Arduino is always 64 bytes long , even if you only send 4 bytes, only the first 4 bytes will be relevant to the Arduino.

Yes, I use the latest NicoHood HID for Arduino.

I will certainly post the code in the near future, I would like to make it a bit tidier before sharing it with others.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime BEEPER. - matalog - 05-24-2023, 01:09 AM
RE: HP Prime BEEPER. - Stevetuc - 05-24-2023, 09:35 AM
RE: HP Prime BEEPER. - matalog - 05-25-2023 12:30 PM
RE: HP Prime BEEPER. - gehakte_bits - 05-24-2023, 07:28 PM
RE: HP Prime BEEPER. - ijabbott - 05-24-2023, 07:36 PM
RE: HP Prime BEEPER. - Mark Power - 05-24-2023, 10:31 PM
RE: HP Prime BEEPER. - matalog - 05-25-2023, 12:34 PM
RE: HP Prime BEEPER. - Amer7 - 05-25-2023, 11:53 AM
RE: HP Prime BEEPER. - Mark Power - 05-25-2023, 06:08 PM
RE: HP Prime BEEPER. - matalog - 05-26-2023, 10:04 PM
RE: HP Prime BEEPER. - matalog - 07-01-2023, 08:00 PM
RE: HP Prime BEEPER. - Insoft - 07-04-2023, 06:39 PM
RE: HP Prime BEEPER. - matalog - 07-04-2023, 07:16 PM



User(s) browsing this thread: 2 Guest(s)