This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bartoszfilipowicz.alphanumeric; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.database.MatrixCursor; | |
import android.os.Bundle; | |
import android.provider.BaseColumns; | |
import android.text.TextUtils; | |
import android.view.View; | |
import android.widget.AlphabetIndexer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH to rasp Pi: | |
ssh [email protected] | |
password: raspberry | |
Given that the lego Tower is in /dev/usb/legousbtower0, start by making sure the device is accessible with a lazy hack: | |
$ sudo chmod 777 /dev/usb/legousbtower0 | |
Here are two useful nqc commands to communicate with the RCX brick through the Lego Tower. | |
1) Uploading the firmware(if needed): nqc -Susb:/dev/usb/legousbtower0 -firmware firm0309.lgo |