Hi all...
(Apologies for any typos at all.)
This is a step by step _script_ to check if your Arduino is talking to your Linux or Macbook Pro computer using the Terminal...
It works on at least 3 Linux flavours and now the Macbook Pro...
I hope you find it useful as a simple check for... (0 Replies)
This is a very simple starter DEMO to access Arduino Diecimila Board for the
Macbook Pro 13" OSX 10.7.5...
A potentiometer is connected between 5V and Gnd with the wiper connected to
ANALOG IN 0 on the Arduino. This was adjusted to give the Ms and Ls as seen...
I now have DC in for this... (0 Replies)
I am working on a semi-auto detection idea for Arduino for the Scope project.
It does require a little user intervention but minimal.
It works by just responding to two on screen prompts to unplug and plug Arduino
into a USB port.
There are two versions and both work perfectly well and give... (3 Replies)
A very simple Arduino board test... LOL
Here is some very easy code to test a cheap Arduino board I just got from China via Aliexpress. I am still waiting on a about 30 more orders from Aliexpress for more Arduino stuff. This was the first order which made it here.
/*
Arduino test-code... (18 Replies)
In my further exploration of Arduino, today I decided to install the arduino-cli on my mac today.
https://github.com/arduino/arduino-cli
I followed the instructions for macOS but when I got to this part:
arduino-cli board list
I got the dreaded "Unknown" Fully Qualified Board Name... (1 Reply)
Just finished a quick Python script to send the current unix time over to the Arduino from macOS, so in the absence of GPS or some other way to get the unix timestamp (epoch time) to the Arduino, I can get my macOS and Arduino UNO synced to within a second.
Normally, when the Arduino starts... (9 Replies)
My favorite projects are always related to the "latest" tech in command and control, networking and network communications. This Elecrow GSM/GPRS/EDGE SIM5360E 3G Shield seems to be the "latest and the greatest" as far as 3G and GPS, as far as I can see so far, but I has it drawbacks for sure.... (6 Replies)
Today I received my NB-IoT Arduino Shield for AIS (Thailand). Here is a "pinout" photo of the shield.
My shield looks just like the one above, for the most part. I'll post another photo of the actual device later.
When I received the shield in the mail, I went immediately to a local... (8 Replies)
Normally I have very good experiences buying from AliExpress, but in this case with Elecrow, I'm disappointed.
After confirming with Elecrow on AliExpress that their Elecrow GSM/GPRS/EDGE SIM5360E 3G Shield for Arduino would work with 3G SIM cards in Thailand, I purchased one. My plan was to... (1 Reply)
Normally I'm not into kits, but I thought my wife would enjoy this one since she is a big fan of robots and droids on StarWars!
We are done with the basic mechanical assembly and starting on the electronics assembly today.
The robot's "brain" consists of three levels. The Arduino board, on... (5 Replies)
Discussion started by: Neo
5 Replies
LEARN ABOUT MINIX
giftopnm
giftopnm(1) General Commands Manual giftopnm(1)NAME
giftopnm - convert a GIF file into a portable anymap
SYNOPSIS
giftopnm [--alphaout={alpha-filename,-}] [-verbose] [-comments] [-image N] [GIFfile]
DESCRIPTION
This is a graphics format converter from the GIF format to the PNM (i.e. PBM, PGM, or PPM) format.
If the image contains only black and maximally bright white, the output is PBM. If the image contains more than those two colors, but only
grays, the output is PGM. If the image contains other colors, the output is PPM.
If you have an animated GIF file, you can extract individual frames from it with gifsicle and then convert those using giftopnm.
A GIF image contains rectangular pixels. They all have the same aspect ratio, but may not be square (it's actually quite unusual for them
not to be square, but it could happen). The pixels of a Netpbm image are always square. Because of the engineering complexity to do oth-
erwise, giftopnm converts a GIF image to a Netpbm image pixel-for-pixel. This means if the GIF pixels are not square, the Netpbm output
image has the wrong aspect ratio. In this case, giftopnm issues an informational message telling you to run pnmscale to correct the out-
put.
OPTIONS --alphaout=alpha-filename
giftopnm creates a PGM (portable graymap) file containing the alpha channel values in the input image. If the input image doesn't
contain an alpha channel, the alpha-filename file contains all zero (transparent) alpha values. If you don't specify --alphaout,
giftopnm does not generate an alpha file, and if the input image has an alpha channel, giftopnm simply discards it.
If you specify - as the filename, giftopnm writes the alpha output to Standard Output and discards the image.
See pnmcomp(1) for one way to use the alpha output file.
-verbose
Produce verbose output about the GIF file input.
-comments
Only output GIF89 comment fields.
-image N
Output the specified gif image from the input GIF archive (where N is '1', '2', '20'...). Normally there is only one image per
file, so this option is not needed.
All flags can be abbreviated to their shortest unique prefix.
RESTRICTIONS
This does not correctly handle the Plain Text Extension of the GIF89 standard, since I did not have any example input files containing
them.
SEE ALSO ppmtogif(1), ppmcolormask(1), pnmcomp(1), gifsicle(1) <http://www.lcdf.org/gifsicle>, ppm(5).
AUTHOR
Copyright (c) 1993 by David Koblas (koblas@netcom.com)
LICENSE
If you use giftopnm, you are using a patent on the LZW compression method which is owned by Unisys, and in all probability you do not have
a license from Unisys to do so. Unisys typically asks $5000 for a license for trivial use of the patent. Unisys has never enforced the
patent against trivial users, and has made statements that it is much less concerned about people using the patent for decompression (which
is what giftopnm does than for compression. The patent expires in 2003 / 2004, depending on the country.
Rumor has it that IBM also owns a patent covering giftopnm.
A replacement for the GIF format that does not require any patents to use is the PNG format.
13 January 2001 giftopnm(1)