Hi Paul,
In wav2sketch.c on GitHub lines 115-118 show:
115 if (channels == 1) {
116 if (length % 1) die("file %s data length is not a multiple of 2", filename);
117 ...
Type: Posts; User: Burly
Hi Paul,
In wav2sketch.c on GitHub lines 115-118 show:
115 if (channels == 1) {
116 if (length % 1) die("file %s data length is not a multiple of 2", filename);
117 ...
YEAH!!!!
WORK'S LIKE A CHAMP!!!!!
static const uint8_t PROGMEM SYNC_Table[16]__attribute__((aligned(16))) =
{0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F,...
Hey guys...
Is there and alignment directive to align data on a 16-byte boundary?
I'm working with a Teensy LC.
I've successfully used PROGMEM to store a 16-byte array in program flash...
Thanks guys...
I'm not planning on using any fancy queuing FIFO's on SPI...just plain old single byte-by-byte sending/receiving.
So I guess I can use any I/O pin as SS/CS(slave select/chip...
I have a TeensyLC.
On the picture card included with the board, the top surface picture shows CS0 and CS1 as pins as belonging to the SPI-0 and SPI-1 Serial Peripheral Buses.
The SPI library...
Yep...I'm very pleased with my TeensyLC's.
OK...I've got it fixed...
There is a sample program where Arduino is installed on your C: drive.
Program Files (x86)\arduino\examples\teensy\USB_RawHID\Basic\Basic.pde
I shortened the sample...
I'm trying to write a RAWHID program to connect a Windows10 tablet to a TeensyLC.
I've done it successfully for both a Teensy 2.0 and Teensy 2.0+.
But the TeensyLC doesn't work.
There is an...
Thank's MadMatt,
You're describing just how I thought things worked.
I wanted to confirm because I'm about send a board design off to OSH Park...
I didn't want any gotchas...
The rule of thumb...
Hi Michael,
I totally agree about only having one source of power.
And I don't want to loose the ability to power strictly off of USB...so cutting the jumper is a non-starter.
I want to either...
Three Questions:
#1. The two pin header holes marked 3.3v I assume get 3.3v output voltage from the VOUT33 pin on the processor. So these are not in any way used as input 3.3v to power the...
Ok...Thanks...
I notice from the Color Picture of the pins of the Teensy LC that there are two SPI buses.
Each bus has some Alternate Pins for the locations of MOSI, MISO, SCK, and CS.
I'd assume any IO pin could...
Neat! I used to follow that PowerPC stuff. Back in the day there was a BeOS Company that was developing a PowerPC OS and maybe got as far as an ATX motherboard. I googled Power 9 and it looks like a...
Hi Paul,
My Bad...
I copied the objdump.exe into the directory and ran it against the .obj.
That's just was needed!!!
Thanks!!!
Hi Paul,
Yes that would work. But it is kind of nice to have the source lines there so you know where to look. Of course when you turn on high levels of optimization (AVR on Atmel Studio 6) then...
@ Michael
WOW...it sounds like you are a contributor of the GCC code project itself!!!
What you're explaining to me is way over my head...I know nothing about gcc at the command line level. I'm...
I am switching over my development efforts from TEENSY 2.0 to TEENSY LP.
On TEENSY 2.0 I've been using Atmel Studio 6 IDE as my development platform. In using Atmel Studio 6 I've always had...
Thanks drmartin, Paul, and manitou...
I guess you're telling me that USB Stacks are being built and loaded regardless if they are actually being used by the Sketch code. And besides that...if you...
Hi all...noobie here...
I'm using a Windows 7 64-bit computer. I just purchased two Teensy LC boards. I installed Arduino 1.6.12 and Teensyduino Beta 1.31. I loaded the default Blink sketch,...
There are 3 sets of empty pads on the bottom of a Teensy 2.0
1. One set is to hold a 3.3 regulator chip.
2. Then a series of 3 pads controls the chip voltage from 5 to 3.3 volts by cutting a...
Here's the answer to my question.
You must push the button for the bootloader to run.
When you plug in the Teensy into the USB of a running computer, it is the Flashed Program that will run....
EXAMPLE.C
The "buffer" is defined in example.c on line 34.
Line 34: uint8_t buffer[64];
You can change it to any length up to 64. A 64 byte report buffer is the largest that a "Full Speed USB"...
I have a question on how the Teensy 2.0 boot loader works.
The data sheet for the ATmega32U4 says that there are 5 sources of reset.
Do all these sources of reset enter the boot loader?
Or does...