You ought to be sending this way
Assuming ADDR pin is low
i2cwrite ldta, lclk, $46, adr, dat
and read by
Type: Posts; User: Jerson; Keyword(s):
You ought to be sending this way
Assuming ADDR pin is low
i2cwrite ldta, lclk, $46, adr, dat
and read by
1 - use the appropriate I2C address for the device based on the hardware pin state
2) Slave Address
Slave Address is 2 types, it is determined by ADDR Terminal
ADDR = ‘H’ ( ADDR ≧ 0.7VCC ) →...
If you're able to understand arduino C, look at the arduino matrix keyboard example. Nice FSM implementation https://domoticx.com/arduino-library-keypad/
Thank you Ioannis. I wish you and yours a Merry Christmas and a bright New Year
very nice instructive videos
If you follow the HID descriptor fields, you will notice you need to change the report count for the report which has to carry more data. The endpoint buffer is just a holding place for the in/out...
A lot has transpired while I was asleep in my TimeZone. I think you found your answer.
Post your code. It is easier for experienced members to help you as they might be able to try out the code to see the issue you have.
Since you haven't shown the relevant code fragment, I suspect you are getting an error at a branch instruction that is branching past the 2048 bytes page size.
The easy part is to first verify the mouse code emulates correctly when connected to the PC. This ensures the skeleton is a working one.
The not so easy thing to do is to get the Descriptor...
I am seeing many spammers have taken a liking to this site.. Either the work from home has given them more time on hands or the site has a vulnerability that they've found.
First post approval...
Hi Ioannis
Not sure how you can order Aplus where you are. Perhaps you may need to buy direct from the manufacturer in Taiwan. I used to source mine locally from a distributor in tiny...
The APR and ISD chips are basically meant for human voice and not high fidelity. They're inteded for TAM (answering machines) use.
I just remembered. There are these series of chips from Aplus that do exactly what you want. They are available in various capacities and can be segmented. So, you could record a few segments and...
Depending on the samples and quality, you may find that you need quite a bit of storage (SD card with SDIO interface). The power of the PIC to handle raw samples may be severely short to get a...
I am not aware of any tool that can reverse a HEX code to a high level code. The minimum is possible HEX to ASM
If you want goto premakro to run when ticker>=150, perhaps you need to reframe that part with the else....endif
I wouldn't mind looking over the code if you want.
You've done an excellent job. Would you consider posting a small video demo to visualize the results?
Warm wishes
Merry Christmas to all who read this message - Thank you Dave.
Your Key_Cnt variable increments inside the IF condition and therefore, placing the SEROUT statement before the IF works correctly.
You need to investigate that IF statement with this in mind.
What you're looking for is commonly known as leading zero blanking. You could continue with filling blanks to digits after the value is zero. That is how you will achieve it.
I will give a generic answer as my PICBasic skills are weak at the moment
Assume your variable x contains 1000
You can strip out digits like this from Right to left with position 0 at the right...
Hi Peter
Let us walk through this as per what I suggested
(100V-10)*126 = 11340 = $2C4C
(150V-10)*126 = 17640 = $44E8
Now suppose we drop the last nibble( divide by 16), you get $24C and...
You probably didn't see this in the OM. Moreover, I wonder what being supermod got to do with helping someone
Since you're looking for plain communication with the PC via USB, I can suggest you look up the USB CDC descriptor. This will turn your PIC into a USB comm port visible to your PC. You then just...