Turning on Web Sharing on Mountain Lion

Preamble

Apple removed Web Sharing from the Sharing control panel, with Mountain Lion. However, even though the UI has been removed, apache is still installed and it is easy to re-enble using the command line…

Continue reading Turning on Web Sharing on Mountain Lion

Advertisements

GhettoVaper – an extended GhettoVape III

Preamble

Following on from Vaping – Box Mods, I decided to extend the GhettoVape III sketch, which was posted by Julian Loiacono:

Continue reading GhettoVaper – an extended GhettoVape III

PWM.h for Arduino

Preamble

Following on from Vaping – Box Mods, I was trying to compile NewPWM, from Github: OpenSource Vape/ Smart_PWM_Test, and I was constantly getting the error:

NewPWM.ino:13:17: fatal error: PWM.h: No such file or directory

I searched google for ages, couldn’t find anything. Then, finally, I searched on Stack Exchange Arduino and found this answer from Mavidad, to Generating PWM signal 1-2 ms @ 333 Hz). NewPWM requires PWM.h from GoogleCode: arduino-pwm-frequency-library.

Continue reading PWM.h for Arduino

DIOORIG_FAN2_PIN_WPORT error

Preamble

I couldn’t resolve this compile error

fastio.h:29: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope

This was from compiling the Repetier.ino file, straight from the download from a number of sources:

  1. github, Repetier firmware, and;
  2. google drive: Repetier-Firmware-2017-06-09

I played about with the Configuration.h file, that came with the google drive download, manually, but always ended up with the same error.

I then tried loading the Configuration.h file into the Configuration tool, and reconfiguring it in there, but that did not help much.

Continue reading DIOORIG_FAN2_PIN_WPORT error

Setting up Sanguinololu on OS X for Arduino 1.8.6

Preamble

See the preamble of Trouble compiling Repetier

Following Setting up a Sanguinololu on a Mac, the instructions aren’t quite right of a recent Arduino IDE. They may have worked for 1.0, but they don’t anymore.

Continue reading Setting up Sanguinololu on OS X for Arduino 1.8.6