Search found 1132 matches

by andrew
Sun Mar 28, 2021 8:46 am
Forum: Kits
Topic: Hobby Components Protoduino (HCPROT0068)
Replies: 7
Views: 13946

Re: Hobby Components Protoduino (HCPROT0068)

1) Which is pin 1 on the ISP header (P3)? The square pin is MISO. I've attached an image of the pinout below. This is the view from the top (components) side of the board.... Protoduino_ISP_Header.png 2) On the serial header (P1), does TX denote the actual transmit pin, or the pin that should be co...
by andrew
Mon Mar 22, 2021 4:11 pm
Forum: Arduino
Topic: HCuOLED library for SSD1307 & SH1106 based OLED displays
Replies: 37
Views: 31993

Re: HCuOLED library for SSD1307 & SH1106 based OLED displays

Thanks again for confirming. I've now added this version to the first post.
by andrew
Mon Mar 22, 2021 9:25 am
Forum: Arduino
Topic: HCuOLED library for SSD1307 & SH1106 based OLED displays
Replies: 37
Views: 31993

Re: HCuOLED library for SSD1307 & SH1106 based OLED displays

Thanks. As it was an simple addition to the library I've attached an updated version (still V0.8) which includes a GetPixel() function..... HCuOLED.GetPixel(X, Y); Get the current state of a pixel where: X is the x axis coordinate of the pixel Y is the Y axis coordinate of the pixel Returns: A boole...
by andrew
Sat Mar 20, 2021 8:38 am
Forum: Arduino
Topic: HCuOLED library for SSD1307 & SH1106 based OLED displays
Replies: 37
Views: 31993

Re: HCuOLED library for SSD1307 & SH1106 based OLED displays

I've attached an updated version (V0.8) of the library to this post. Unfortunately as it's the weekend I can't test it but hopefully this should fix the problem. Can you give it a try and let me know if it's fixed and I'll add it to the first post.

HCuOLED.zip
by andrew
Wed Mar 17, 2021 3:50 pm
Forum: Atmel
Topic: USBASP AVR programmer + Adaptor (HCDVBD0031)
Replies: 18
Views: 30001

Re: USBASP AVR programmer + Adaptor (HCDVBD0031)

WEB PAGE SAYS THERE SHOULD BE A GREEN LED POWER LIGHT AND A RED LED TRANSMITT LIGHT THAT BLINKS ON MINE I HAVE ONLY A SOLID RED LED NO GREEN ONE LIGHTS Sorry to hear you're having issues. On the latest batches both the power and programming LED are red so what you are reporting is what I'd expect t...
by andrew
Wed Mar 10, 2021 11:58 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18101

Re: Hobby Components Maze Runner (HCROBO0052)

Great! Thanks again for trying this. That now confirms it's an optimiser issue and at least I know where to look without having to check every function. Arduino does very occasionally make updates to the IDE that breaks older libraries but to be fair this looks like it's just something I should have...
by andrew
Tue Mar 09, 2021 3:06 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18101

Re: Hobby Components Maze Runner (HCROBO0052)

Just had another chance to look at it and thought I'd confirm my suspicion that the current issue is still down to the optimiser removing code. So what I did was download an old version of the Arduino IDE that was available around the time the library was written (1.6.0) and just to be sure installe...
by andrew
Sun Mar 07, 2021 9:14 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18101

Re: Hobby Components Maze Runner (HCROBO0052)

Thanks again for the answers. That tells me it's unlikely to be a hardware issue as far as the motors are concerned. You're always going to get some slight speed difference with DC motors but it sounds like it's nothing as bad as when it's following the line. I'm not going to rule out a hardware sen...
by andrew
Fri Mar 05, 2021 1:42 pm
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18101

Re: Hobby Components Maze Runner (HCROBO0052)

Definite progress! It is now attempting the calibration That's great. I can go into more detail if you like but basically the weirdness was being caused by some code being optimised out by the compiler. I guess over the years since this library was written the IDE has been through several updates a...
by andrew
Fri Mar 05, 2021 9:46 am
Forum: Kits
Topic: Hobby Components Maze Runner (HCROBO0052)
Replies: 36
Views: 18101

Re: Hobby Components Maze Runner (HCROBO0052)

I've attached a copy of the HCMRunner.cpp file to this post. Can you replace the one in your libraries/HCMRunner folder with this version and see if it works....


HCMRunner.cpp