Search found 83 matches

by MAsic12345
Mon Oct 07, 2019 5:34 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

dragonator wrote:
Mon Oct 07, 2019 5:15 pm
One more thing to try that will actually do it all together. I hope I wrote it right, it is difficult for me to test here. I works on port 7 bits 0 to 3, so pin 10-13. Let me know if it actually works or where it gives errors.

no mistakes
by MAsic12345
Sun Oct 06, 2019 5:26 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

finally I could figure it out it was incredibly hard 14124.png byte pinTable[] = {0,1,2,3,4,5,6,7,8,9}; void setup() { for(int i=0; i<10; i++) { pinMode(pinTable[i],OUTPUT); } } char a[] = {1,0,1,0,1,0,1,0,1,0,1,0,1,0}; char b[] = {1,0,1,0,1,0,1,0,1,0,1,0,1,0}; char c[] = {1,0,1,0,1,0,1,0,1,0,1,0,1,...
by MAsic12345
Sat Oct 05, 2019 7:43 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

byte pinTable[] = {0,3,4,5,6,7,8,9}; void setup() { for(int i=0; i<8; i++) { pinMode(pinTable[i],OUTPUT); } } void loop() { GPIO6_DR = GPIO6_DR | 8; GPIO6_DR = GPIO6_DR & ~8; //the ~ inverts the 1's and 0's. } i used your code here is the result Безымянный.png but I still can’t understand how to ch...
by MAsic12345
Sat Oct 05, 2019 6:52 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

CORE_PIN0_BIT :is which bit of a port is which pin. In this case it is said to be 3 (the 3rd bit). CORE_PIN0_BITMASK (1<<(CORE_PIN0_BIT)) :creates the actual number which is used to write the port. CORE_PIN0_PORTSET :determines to which port this is written. GPIO6_DR_SET in this case, port 6 I’ve g...
by MAsic12345
Wed Oct 02, 2019 6:34 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

it seems to me (digitalWrite(pinTable[x],x);) slow to repeat simulation of a code with a frequency of 3 megahertz I tried to write code that can quickly display information from cells into which you can write the protocol model and it turned out that(digitalWrite(pinTable[x],x);) does not have time ...
by MAsic12345
Mon Sep 30, 2019 7:07 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

What am I doing wrong?
code does not respond
I do not fully understand how it works
May I ask for details?

Code: Select all

byte pinTable[] = {0};
void setup() 
{
pinMode(pinTable[0],OUTPUT); 

}

void loop() 
{
 for(int i=0; i<7; i++) 
 {
# define  CORE_PIN0_BITMASK   ( 1 << (CORE_PIN0_BIT))
 }

}
by MAsic12345
Sun Sep 29, 2019 2:27 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

Sadly, I do not know how to write a whole port directly yet. I did dig a little on the forum and the pages, but came up empty. Teensy 4.0 is still rolling out, and not all libraries and functions are completed. maybe you know who you can contact in order to find out how fast are we can switch pins ...
by MAsic12345
Wed Sep 25, 2019 6:19 pm
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

Dear friends i got Teensy 4.0
and don’t know how to communicate with ports
syntax that worked on Teensy 3.6 does not work

Someone can tell where I can find information
by ports for Teensy 4.0 thanks in advance
_DSC1610.jpg
_DSC1610.jpg (258.81 KiB) Viewed 196 times
by MAsic12345
Tue Sep 03, 2019 7:29 am
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

dragonator wrote:
Tue Sep 03, 2019 5:37 am
In the Netherlands there are several resellers that carry them as well. I usually buy them there.
have a page?
by MAsic12345
Mon Sep 02, 2019 8:14 am
Forum: 3DP printing
Topic: Hacking cartridge HP 84/85
Replies: 146
Views: 29647

Re: Hacking cartridge HP 84/85

By the way, someone faced such a problem I ordered teensy 4.0 made an order on the official website registered the order for mail confirmation came (that the order is accepted) but the money was not taken from the card and received no answer ordered to Poland who knows what it is connected with or w...