Welcome, Guest. Please login or register.

Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MockTurtle

Pages: [1]
1
For serial I do mean 1 and 0.

If you look on lines 56 to 66 of the PinMappings.h file, you'll see what I mean about two options for ST4. By default I use 50-53, but it is also possible to use A8-A11 (both sets have the same arrangement of pin change interrupts). The second set was added as there is one person that was customising the firmware for their project and wanted to add some extra code to control something with SPI - which on the Mega is 50-53.

i guess you probably have a newer version of files as I don't see the A8-A11 option in lines 56-66... only mode pins (see github link below)? or maybe i'm just going mad?  :-[ :o  ;D

https://github.com/TCWORLD/AstroEQ/blob/master/AstroEQ-Firmware/PinMappings.h

2
...by 'serial pins' I would assume you mean pins 1 and 0? also not sure what you mean by the two locations for the ST4? (basically pin 50-52 for the mega).

In any case thanks Tom, and duly noted!


3
nice work! just a question as I see you also have re-assigned the pins on the mega (for a neater layout i suppose) are there any guidelines on what pins are safe to reassign or best practices/recommendations?

I have a modified PinMappings.h file which on testing seemingly does not perform 100% - ie there is a 'lag' (sometimes) when pointing RA/DEC axes. Orig mapping works 100% though?

Also I would like to take this opportunity to thank you guys (especially Tom) for sharing your work with us. Have been contemplating a while now on an arduino solution for a scope mount, and have consequently stumbled on this site.

Pages: [1]