• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language Makefile
  • License
    MIT License
  • Created almost 14 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The TextMate Arduino Bundle

Arduino TextMate Bundle 1.0a

TextMate is the best editor in human history. Arduino is the easiest embedded platform to dive into. Why don't the two work together? The Arduino TextMate Bundle solves that glaring error, and the universe is thus balanced.

There are other TextMate bundles out there, but they're mostly over two years old and don't work with new Arduino versions. This project aims to remain up-to-date and make embedded as enjoyable as everything else in TextMate.

The little 'a' in '1.0a' stands for 'alpha'. Read that as "might not work for you". It will grow and improve with time, but for now brace yourself for bugs. That means bug reports, feature requests and patches!

As of 1.0a, the bundle can compiles and uploads to the device, provides access to the documentation and highlights syntax correctly.

Installation

  1. Get the latest Arduino. Version 1.0 and later is supported, and it must be installed to /Applications
  2. Get TextMate.
  3. Get the latest Arduino TextMate bundle.
  4. Extract the zip file to ~/Library/Application Support/TextMate/Bundles/Arduino.tmbundle
  5. If TextMate was open during this process, click Bundles>Bundle Editor>Reload Bundles
  6. Check the 'Default Environment vars' near the top of ~/Library/Application Support/TextMate/Bundles/Arduino.tmbundle/Support/Makefile. Any you need to override - especially check the ARDUINO_MCU var - can be added in TextMate's Preferences => Advanced => Shell Variables.

Usage

  • ⌘U Compiles and uploads your sketch to the connected Arduino
  • ⌃⌥⌘H Opens up local HTML documentation on to current word
  • Bundles > Arduino > Watch Serial Port Opens a terminal window monitoring the serial port.
  • File > New From Template > Arduino > Basic Sketch Creates a file with a blank basic sketch.

Shell Variables

The compile/upload process can be finely controlled using TextMate's shell variables.

Textmate > Preferences > Advanced > Shell Variables

Variable Value
BOARD The Arduino variant being used. See table below.
SERIALDEV We try to guess the correct serial port. If that is not possible, you have to set the correct serial port.
Like: /dev/tty.usbmodem1411

Supported Arduino Boards

Value Description
uno Arduino Uno
atmega328 Arduino Duemilanove w/ ATmega328
diecimila Arduino Diecimila or Duemilanove w/ ATmega168
nano328 Arduino Nano w/ ATmega328
nano Arduino Nano w/ ATmega168
mega2560 Arduino Mega 2560 or Mega ADK
mega Arduino Mega (ATmega1280)
leonardo Arduino Leonardo
esplora Arduino Esplora
micro Arduino Micro
mini328 Arduino Mini w/ ATmega328
mini Arduino Mini w/ ATmega168
ethernet Arduino Ethernet
fio Arduino Fio
bt328 Arduino BT w/ ATmega328
bt Arduino BT w/ ATmega168
LilyPadUSB LilyPad Arduino USB
lilypad328 LilyPad Arduino w/ ATmega328
lilypad LilyPad Arduino w/ ATmega168
pro5v328 Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328
pro5v Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega168
pro328 Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328
pro Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega168
atmega168 Arduino NG or older w/ ATmega168
atmega8 Arduino NG or older w/ ATmega8
robotControl Arduino Robot Control
robotMotor Arduino Robot Motor

Bleeding Edge

For the adventurous

git clone git://github.com/nasser/arduino.tmbundle.git ~/Library/Application\ Support/TextMate/Bundles/Arduino.tmbundle

Changes

1.0a

  • Fixed for Arduino 1.0
  • Improved local help command
  • Changed versioning scheme to match Arduino's. This bundle's version will always be equal to the version of Arduino it is most compatible with.

0.21a

  • Added snippets for common methods
  • Added an Arduino project template
  • Altered the monitor script - it's now aware of your USB ports

0.2a

  • Compile/upload bug fixed
  • Syntax highlighting added
  • Local help added
  • Initial Watch Serial Port implementation
  • More intelligent Makefile with environment variable overrides

0.1a

  • Initial release, basic implementation of compiling/uploading

More Repositories

1

---

قلب: لغة برمجة
JavaScript
707
star
2

magic

Morgan And Grand Iron Clojure
Clojure
366
star
3

zajal

Experimental creative coding framework
JavaScript
160
star
4

clojurescript-npm

NPM module for the the ClojureScript programming language
Clojure
145
star
5

nostrand

Clojure on Mono
C#
69
star
6

ajeeb

Patterns for Playful Systems
JavaScript
69
star
7

mage

Symbolic MSIL bytecode generation for ClojureCLR
Clojure
63
star
8

symba

The Symbolic Assembler
Clojure
55
star
9

pltjs

A programming language design prototyping tool
JavaScript
44
star
10

god.js

New Gods Through Computer Science for Art Hack Day 2013
JavaScript
41
star
11

thixels

PICO8 inspired live coded thick pixel visual instrument
JavaScript
37
star
12

boards

Infinite whiteboards
JavaScript
28
star
13

rejoyce

A concatenative programming language inspired by Manfred von Thun's Joy
JavaScript
24
star
14

stopwork

Minimal HTML 5 Presentation Platform
CSS
23
star
15

rekindle

Hackable E-ink Tablets For Everyone
C
22
star
16

ajeeb-coroutines

Coroutines for the Ajeeb Game Engine
TypeScript
20
star
17

Socket

Sublime Socket REPLs
Python
18
star
18

Magic.Unity

Unity integration for the MAGIC compiler
C#
17
star
19

governingdynamics

The Governing Dynamics of Software - ITP Class on Language Design
13
star
20

sfpc-talk

Source code to the various slideshows used during my September 16, 2013 talk at the SFPC opening
JavaScript
11
star
21

malaf

Markdown + CSS = PDF
CSS
11
star
22

illness

HTML Mono MSIL Visualizer
C#
9
star
23

line

إعادة تخيل النص الرقمي
JavaScript
9
star
24

stop-emailing-me

just stop
JavaScript
9
star
25

ajeeb-ecs

Entity Component System for the Ajeeb Game EngineCoroutines
TypeScript
8
star
26

graffitidrone

Exactly what it sounds like
Ruby
7
star
27

twelve

Experimental Game Engine/Entity Component System
JavaScript
7
star
28

oddball

In-memory Content Addressable Store
JavaScript
6
star
29

Magic.Unity-Example

An example Magic.Unity project
Clojure
6
star
30

blenderhyrepl

Blender Hy REPL
Python
6
star
31

bctp

The Bytecode Transfer Protocol
JavaScript
5
star
32

teaching

Repository for my slides
HTML
5
star
33

dtplayfulsystems

Creative Coding class at Parsons Design + Tech
C
5
star
34

shapeserver

Harfbuzz shaping server
JavaScript
5
star
35

arz

a parser generator that makes nice trees
JavaScript
5
star
36

tools.analyzer.clr

CLR Specific Analysis Passes for clojure.tools.analyzer
Clojure
4
star
37

harfbuzz-js-demo

Correctly shaped 3D text in Three.js via HarfBuzz and OpenType
JavaScript
4
star
38

everyunicode

Twittering every graphical character in the Unicode 6.2 Standard. Task will complete in 2076.
Ruby
3
star
39

rdclcmps

Radical Computer Science at SFPC, Abbreviated
3
star
40

Magic.Runtime

C#
3
star
41

occupied.land

JavaScript
2
star
42

sponge

The Slowest Computer On Earth
HTML
2
star
43

hiccup-magic

A port of the hiccup library to Clojure on the CLR (the MAGIC compiler)
Clojure
2
star
44

gozer

Social media stream aggregation
JavaScript
2
star
45

cathoristic-logic

F#/Clojure implementation of Cathoristic Logic
F#
2
star
46

nopenotarabic

An Archive of Things That Are Not Arabic
HTML
2
star
47

-

بونج: اللعبة الكلاسيكية مبرمجة بلغة البرمجة "قلب" لمتصفح الويب
JavaScript
2
star
48

zajal-book

The Zajal Programming Book
2
star
49

coding-in-depth

Playable Fashion Coding in Depth Lesson Plan
HTML
2
star
50

tetroid

Arduino Tetris clone
Java
2
star
51

sfpc-fall14

Radical Computer Science at the School For Poetic Computation Fall 2014
1
star
52

playablefashion

C++
1
star
53

electron-p5

P5 in an Electron App
JavaScript
1
star
54

syntax-canvas

Language design experimentation tool
JavaScript
1
star
55

guillotine

Painless code execution framework
1
star
56

buzzkill

Flies are so annoying
JavaScript
1
star
57

terminalstate

maybe got carried away with this
HTML
1
star
58

npwd

Command-line password management for your various accounts.
JavaScript
1
star
59

resume

1
star
60

fsbook

an f# program that is also a book?
JavaScript
1
star
61

roll-a-ball

Adaptation of mlakewood's Roll_a_Ball
Clojure
1
star
62

hiramsey

Kaho's C64 Code
Visual Basic
1
star
63

magic-project

Top level build orchestration repository for MAGIC and all related technologies
1
star