https://github.com/louiscb/ti-linux-machine
Convert a basic calculator into a fully fledged Linux device
https://github.com/louiscb/ti-linux-machine
calculator linux raspberry-pi ti
Last synced: 3 months ago
JSON representation
Convert a basic calculator into a fully fledged Linux device
- Host: GitHub
- URL: https://github.com/louiscb/ti-linux-machine
- Owner: louiscb
- Created: 2019-05-13T10:05:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T10:25:07.000Z (about 7 years ago)
- Last Synced: 2025-06-14T18:06:19.239Z (about 1 year ago)
- Topics: calculator, linux, raspberry-pi, ti
- Language: Shell
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TI-Linux-machine
Convert a basic calculator into a fully fledged Linux device
## Keyboard
Add `dtoverlay=calculator-keyboard` to `/boot/config.txt`
Run `autodts.sh` and reboot the computer.
## Screen
Create file /etc/modprobe.d/fbtft.conf and add this
```
options fbtft_device name=fb_ili9325 custom rotate=90 bgr=1 width=240 height=320 gpios=reset:7,dc:0,wr:1,cs:8,db00:17,db01:18,db02:21,db03:22,db04:23,db05:24,db06:25,db07:4,led:12
```
Add to /etc/modules: `fbtft_device`
Add to /boot/cmdline.txt `fbcon=map:10 fbcon=font:VGA8x8`
Change /usr/share/X11/xorg.conf.d/99-fbturbo.conf `/dev/fb0` to `/dev/fb1`
### Debugging and resources
For seeing key presses `sudo showkey -s`
To open on screen keyboard `sudo matchbox-keyboard`
Turn on number pad mouse control `setxkbmap -option keypad:pointerkeys` and then `CTRL + SHIFT + NUMLOCK`