Saturday, September 22, 2012

I Can't Find My Cursor

I'm not stupid.  I've done some programming.  I'm an electronics technician for over 30 years.
But now that I have my 27" iMac and will soon be adding another monitor, the real estate that one can lose their cursor on is growing.

After a quick search I found five options:

1) Hold Ctrl+Scroll and the screen will zoom into where the mouse is.

2) Move all the way up to the left and click, and the menu will expand showing you where the mouse is.

3) OmniDazzle from omnigroup.com

4) mouseposefrom from Boinx Software

and

5) MouseLocator from 2pointfish software company.

I chose 5.  MouseLocator from 2pointfish.
It's easy, download, install (I then keep the .dmg in a folder called 'downloaded software', because it has the uninstaller), then when you lose your mouse, just hit Ctrl + Space (can be changed to anything you want).

This is what I see for the 2 secs that it is set up for:



Works great.  No more getting lost in a sea of pixels.

Saturday, July 7, 2012

Microstick II Start Up

I got the Microchip Microstick II and found some things that others may learn from as well.

I started using the Pic32MX250F128b (Microchip left the 'b' off in the parts included list, but the 'b'
version Pic32 is the 28 pin one that comes with the Microchip II).

First, using Microchip MPLAB X IDE the Microstick II was not recognized by the MPLAB (inactive connection).
I had to restart MPLAB X, and replug in the Microstick II into the USB cable.
Using OSX, the directions state a)... b) ... select Starter Kits (PKOB), and then click Apply.
I had to click on the Serial number, then 'Apply' to get it to work.

Second, the code example given must be for MPLAB 8.x as MPLAB X did not recognize that file.
So, just start a new project like it states in the MPLAB X Quick Start guide, then right click on Source Files in the tree and import the BlinkLED.c file from the MPLAB 8.x example files.
Then 'c)' should be: c) Select 'Debug Project' to download and run the project.
Not Run>Run Project.  (that must be in 8.x version).

MPLAB X will alert you that you it must disable the watchdog timer to make the program work correctly for this session, hit yes or okay and then your LED will do it's blinking thing.



Wednesday, June 6, 2012

Creating An Ellipsoid in a 3D Grapher

When creating an Ellipsoid in a 3D Grapher, whether it be online or Apple's Grapher that comes with Mac, or using a formula inside of a 3D graphics program such as Blenders Add Mesh Math Addon, use this formula.
X function is:   a(cos(u))*cos(v)
Y function is:   b(cos(u))*sin(v)
Z function is:   c(sin(u))

U min: -Pi/2
U max: Pi/2
V min: -Pi
V max: Pi
a = Some number or function greater than 0
same for b and c function, or some constant n.


  • a>b>c — tri-axial or (rarely) scalene ellipsoid;
  • a=b>c — oblate ellipsoid of revolution (oblate spheroid);
  • a=b<c — prolate ellipsoid of revolution (prolate spheroid);
  • a=b=c — the degenerate case of a sphere;

In Apple Grapher I used this:


The 3,2,2 after the [x,y,z] is where you would put the a,b,c if you like.

This took me all day to figure out.  You got it in 2 secs.  Use carefully with beer.