This file contains hidden or 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
#include <ILI9341_t3.h> // https://github.com/PaulStoffregen/ILI9341_t3 | |
struct CanData { | |
uint32_t id; | |
uint8_t len; | |
uint8_t data[8] __attribute__((aligned(8))); | |
}; | |
int CAN_IDS[] = { | |
0x050, |
- SIP disabled. I don't have a native GPU so no boot screen, but I just hold CMD+R 10s after chime sound and wait until I see the recovery screen.
- A drive where windows will be written (avoid partitioning to keep things clean). Mine is plugged into the optical drive bay.
- Bootchamp 1.7. Bootchamp is discontinued but works fine for me. Let me know if you have something better.
- Virtual box
- A Windows 10 iso img. I got a 10 pro edition but the home should be fine too
Seems to be also known as the HD18Q "black box". https://www.ebay.de/itm/153205410117 ("NEU MXQ S805 Smart 1GB+ 8GB Smart TV Box Android 4.4 Quad Core 1.5 G WIFI", seller "SILVESTRAS RUNTA Network Tech Co. Ltd"), EUR 14,99
I can boot with meson8b_m201d.dtb
and wired Ethernet works.
U-boot thinks it is a 512 MB device. Linux does, too. The SDK used seems to be named "s805_0701_512M":
root@vegas805:~# strings /mnt/lib/hw/camera.amlogic.so | grep home/
Firefox Developer Edition
Google Chrome
Xcode
Fabric
Android Studio
Genymotion
Expo
Visual Studio Code
Evernote
After you made some cool games or apps with Pythonista, you may want to make it run as a standaone app on iPad/iPhone and possibly share it on the AppStore. This how-to tells you how to do it.
- Pythonista code you wrote
- A Mac with Xcode 7.1 installed
- iPhone/iPad running iOS 9
- Download PythonistaProjectTemplate.zip. The original PythonistaProjectTemplate described at http://olemoritz.net/pythonista-15-whats-new-and-whats-missing.html does not work with Xcode 7. I updated it to work with Xcode 7 and added a more interesting example than the plain old Hello World thing.
- Unzip the file and open the project in Xcode 7.1. In project settings, change the Bundle Identifier from com.yuhangwang.pythonistaproject to something else.
This file contains hidden or 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
# coding: utf-8 | |
# Calculator | |
from __future__ import division | |
import ui | |
import clipboard | |
from console import hud_alert | |
shows_result = False |