Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.mb-net.net!open-news-network.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?b?xLVlc3M=?= stone Newsgroups: comp.lang.java.programmer Subject: Re: Driving 7-Segment LEDs on Raspberry Pi Date: Tue, 21 Oct 2014 09:22:37 +0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <6c324a98-b16e-4904-b014-c53fd799cb1b@googlegroups.com> NNTP-Posting-Host: 3SM8WD6ETu7KcsZNaCzN5Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Forte Agent 6.00/32.1186 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:30141 In article ccc4a51a-31ee-4099-9c63-0cc2a76c6dbc@googlegroups.com, javalaurence said... > Op maandag 20 oktober 2014 19:17:09 UTC+2 schreef ĵess stone: >> > truly amazing that Java lets us effortlessly drop down to the 0/1 >> > bits >> >> Thanks for the howler, buddy, I needed a good belly-laugh today. :) > > Well, really, that's why I used the word "effortlessly"... driving the > hardware is just a question of a bunch of high() and low() calls on the > Pi4J pin object... what's so challenging about that? Well, this *is* the language whose designers had the absolutely *brilliant* idea of making the only byte-sized data type signed. And prone to being auto-promoted to int.