Hp prime chat terminal using arduino - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Hp prime chat terminal using arduino (/thread-21989.html) |
Hp prime chat terminal using arduino - keestx - 07-03-2024 05:43 PM Hi Guys, I'm trying as the name suggests to create a program so i can send and receive text message's through the usb port. I have an arduino micro that supports usb hid and i'm using the nicohood hid project library. however i have no luck writing a program that wil do that. Using the usbopen() command i get (64,64) as response and using USBRecv() it returns an long ASCII beginning with (84,101,115,116... which corresponds to ''test'' which is sent by the arduino. this is the programm i'm trying to use. Code: EXPORT USBHIDCommunication() when opening the programm i get invalid input, i'm very new to HP PPL and not really sure if this code wil work or not or if anybody has done this before and is willing to share it. Does anybody have tips or ideas to help me? thanks in advance. RE: Hp prime chat terminal using arduino - gehakte_bits - 07-04-2024 09:49 PM 1) Your 'TEXTOUT_P' probably fails, missing an argument. 2) You also might want to use 'G0' to see the output (vs G1~G9 that are buffers in memory and not the actual screen). 3) You probably will need to open the connection by USBOpen(Vid,Pid). I also recommend to test that USBRecv() returns a list and not just '0'. See encl. changes.. Code:
RE: Hp prime chat terminal using arduino - matalog - 07-05-2024 03:10 PM Yes, you need to open the connection correctly using USBOpen(); USBOpen(9025,32822); (yours will have different numbers) You can find those numbers by using USBOpen() or USBRecv() when the arduino is attached. Have a look through my old posts, I shared various types of data with arduinos. This was the one where I had just discovered their connectability. [url] https://www.hpmuseum.org/forum/thread-19972.html[/url] |