Commit Graph

975 Commits

Author SHA1 Message Date
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
gohai
102f55b29d IO: Add comments pointing to wiring diagrams 2016-02-14 11:37:30 +01:00
gohai
c30aa85ab9 IO: Use GPIO numbers in examples
Even the Raspberry Pi Foundation used GPIO numbers over (congruous) physical pin numbers:
https://www.raspberrypi.org/learning/introduction-to-processing/worksheet-2/

Switch our examples as well, so that it they're more clear and hardware-agnostic.
2016-02-14 01:07:37 +01:00
Ben Fry
8185c6fbde Merge pull request #4015 from gohai/serial-fixes
Serial fixes
2015-10-20 09:19:33 -04:00
gohai
4bfe0feea5 I/O: Another filename fix for PWM 2015-10-19 20:52:26 +02:00
gohai
5c5d0ce8d8 I/O: Fix PWM filenames 2015-10-19 20:13:18 +02:00
gohai
f4f00102bd Put back the Javadoc from the 2012-era Serial library 2015-10-18 12:51:57 +02:00
gohai
61fe120f7c Fix Serial SimpleWrite example
The Arduino code would read one byte from the buffer an then sleep for 1/10th of a second, while Processing would send a byte every frame. Instead, read in all the bytes in the input buffer and act on the most recent one.
2015-10-18 12:29:14 +02:00
gohai
3905200c57 I/O: Documentation changes 2015-10-15 22:49:55 +02:00
gohai
bffe20f230 I/O: Rename to "Hardware I/O" 2015-10-15 13:15:57 +02:00
gohai
575edf00d1 I/O: Add @webref annotation 2015-10-15 13:07:59 +02:00
gohai
cd03e69f1a I/O: Rename LED.setBrightness() to LED.brightness()
Suggested by Ben. Note: still needs to be updated in processing-docs.
2015-10-15 13:00:05 +02:00
gohai
4d583abbb5 I/O: Remove GPIO.delay(), GPIO.delayMicroseconds()
Ben pointed out that there already is a delay in PApplet. Note: functions still need to be deleted from processing-docs.
2015-10-15 12:59:49 +02:00
gohai
4c94d1e1fa I/O: Convert constants to Javadoc style 2015-10-14 17:14:42 +02:00
gohai
3d42e22627 I/O: Add missing @param
This fixes the last Javadoc warning.
2015-10-14 16:18:50 +02:00
gohai
def1bddafa I/O: Cosmetic fixes 2015-10-14 15:16:54 +02:00
gohai
b20c2266fb I/O: Rename LED.set() to LED.setBrightness() 2015-10-14 15:16:24 +02:00
gohai
b80f6211e9 I/O: Make delay(), delayMicroseconds() public
Those mirror Arduino's API, and should come in handy when waiting for very short intervals between I/O operations.
2015-10-14 15:15:04 +02:00
REAS
5575b774b8 Tests for new Serial reference 2015-10-13 15:56:05 -07:00
gohai
6b58a22413 I/O: Tighten the heuristic for catching 8 bit I2C addresses 2015-10-12 17:15:31 +02:00
gohai
341a9073be I/O: Add helpful text for I2C errors 2015-10-12 17:10:15 +02:00
gohai
622e907d68 I/O: Comment fix 2015-10-12 17:02:16 +02:00
gohai
06799bb757 I/O: Move GPIO examples away from I2C pins
It appears as if using the I2C pins for GPIO requires a restart of the Raspberry Pi before the I2C interface can be used again. Play safe and move the examples to pins that aren't used for anything else.
2015-10-12 17:00:49 +02:00
gohai
3ddf2d773c I/O: Remove casts to byte from example sketches 2015-10-12 16:59:04 +02:00
gohai
edf411e566 I/O: Make I2C & SPI accept ints for write()
This makes everyone's sketches a bit lighter, since it is not longer necessary to explicitly cast to byte or call byte(). Instead, we throw an exception if the value does not fit into the byte.
2015-10-12 16:56:01 +02:00
gohai
bc02e4b7b6 I/O: Add examples 2015-10-12 00:11:55 +02:00
gohai
59e05393a5 I/O: Improve messaging when user doesn't have permissions to write to LEDs
This is e.g. the case with the newly released Raspbian 2015-09-24.
2015-10-12 00:06:39 +02:00
gohai
eb240c6192 I/O: Don't throw an exception when trying to release unused pins 2015-10-12 00:05:34 +02:00
gohai
fb6437f307 Add I/O library for Raspberry Pi and similar Linux-based micro computers 2015-10-11 11:50:17 +02:00
REAS
85fc361ce3 Change name of Serial I/O library to Serial 2015-10-06 10:03:01 -07:00
REAS
2e115161f4 Fix for Network library GET example 2015-10-02 15:07:01 -07:00
REAS
808aa79127 Remove rotate(x, y, z) from Reference 2015-09-16 20:19:17 -07:00
Ben Fry
f496709a87 update our own libraries to use .properties files (fixes #3574) 2015-08-11 10:30:37 -04:00
tiwawan
62dd1bc8e1 Added a comment in LargePage 2015-07-11 14:24:14 +09:00
Ben Fry
ef9d4c4d2f more package movement for the separate renderers 2015-06-21 22:24:49 -04:00
Ben Fry
2ebea6b917 update to newer api 2015-06-05 22:23:06 -04:00
Ben Fry
f49970ef43 ignore that jar over there 2015-05-16 23:25:06 -04:00
Ben Fry
45b9194cb9 remove me note 2015-05-16 12:49:56 -04:00
Ben Fry
b73b40f9cc add Eclipse project files for SVG 2015-05-16 12:48:52 -04:00
Ben Fry
cd5c927486 remove unused method 2015-05-16 12:36:33 -04:00
Ben Fry
4ab42a0fb3 simple svg exporter 2015-05-16 12:36:02 -04:00
Ben Fry
e52be3f71b setSize() method for offscreen surface 2015-05-16 08:01:15 -04:00
Ben Fry
8f23be3df0 move the note 2015-05-15 16:23:48 -04:00
Ben Fry
3d33fe3fd1 deal with path handling in renderers 2015-05-15 16:16:19 -04:00
Ben Fry
c37e9dc81e rework non-visible surface handling, fix size() parser 2015-05-15 16:00:35 -04:00
codeanticode
3ffb541309 removed jogl library 2015-05-14 18:22:18 -04:00
codeanticode
623f20dce3 avoiding thread lockup in windows 2015-05-14 15:58:57 -04:00
Ben Fry
16625594af Merge pull request #3257 from processing/remove-carnivore-client
removing Carnivore client as per #2911 and…
2015-05-14 09:25:34 -04:00
codeanticode
f29dfb466e dealing with some retina quirks 2015-05-14 03:13:02 -04:00
codeanticode
15a8a104c1 place new window 2015-05-14 02:04:39 -04:00