This repository hosts a WIKI for the PJRC Teensy boards.
- This way to the PJRC Forum: https://forum.pjrc.com
- This way to the WIKI: https://github.com/TeensyUser/doc/wiki
Teensy PJRC WIKI
This repository hosts a WIKI for the PJRC Teensy boards.
For the future you might change pin.h in pinList to read
#elif defined(ARDUINO_TEENSY40) || defined (ARDUINO_TEENSY41)
doc/examples/GPIO/gpio/gpio.ino
Line 17 in 62e9630
Looks like the FAQ is going to get a nightmare to maintain when it grows.
What about having the table of content on the FAQ landing page only and then do a separate page for each item with a "back" link to the FAQ landing page?.
That would also make the linking much easier (could use standard [[pagename]] links then)
(Would look as simple as the code in the sidebar)
Default Code:
import hid
from urllib import request
import json
hidInterfaces = hid.enumerate() # get all hid interfaces
t_it = filter(lambda t: # filter by vid and usagepage/usage
t['vendor_id'] == 0x16c0 and
t['usage_page'] == 0xFFAB and
t['usage'] == 0x0200, hidInterfaces)
rawHID_interface = next(t_it, None) # 'firstOrDefault'
if rawHID_interface != None:
teensy = hid.Device(path = rawHID_interface["path"])
for i in range(10):
jsonurl = request.urlopen("https://api.adviceslip.com/advice")
slip = '\0' + json.loads(jsonurl.read())['slip']['advice'] # the sent report must always start with \0
teensy.write(slip.encode()[:64]) # rawHID report is 64 bytes long
Error:
File "hid.pyx", line 164, in hid.device.write
ValueError: not open
Does anyone know what error is this?
In : https://github.com/TeensyUser/doc/wiki/The-Watchdog-timer
This is not entirely true. Some portion of lower (?) DMAMEM is used by the security HAB (?) code before startup and data stored there will be wiped and overwritten. There is a forum post somewhere - or it could be tested - some 32KB (???) area is disturbed as the processor wakes up and verifies chip security. Any area above that - that was flushed from cache - will be retained. The area used may be different between Locked and UnLocked as well???
// DMAMEM causes allocation in 'static' RAM2 on Teensy using 1062 processor
// It is not initialized and will retain value while powered
// BUT - it writes through a cache that must be flushed to assure it is current
// This works for any DMAMEM allocation of any variable type or structure
** Portable version is handy: https://forum.pjrc.com/threads/60026-Windows-10-app-vs-downloaded-Arduino-app?p=232963&viewfull=1#post232963
** note on interrupts in general and the 1062 and dsb?
** page on TyCommander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.