-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello again,
I was doing some reading and have even gotten a "master" SPI working on my microcontroller. Here is my question, basically if the master wants to initialize a write to the slave we write to the SSPBUF, how do we control what the slave responds with? The datasheet doesn't seem really clear…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm working on a project to recognize simple audio patterns. I have two data sets, each made up of between 4 and 32 note/duration pairs. One set is predefined, the other is from an incoming data stream. The length of the two strongly correlated data sets is often different, but roughly the same "shape"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to do a linear interpolation over time between two values on an 8 bit PIC microcontroller (Specifically 16F627A but that shouldn't matter) using PIC assembly language. Although I'm looking for an algorithm here as much as actual code.
I need to take an 8 bit starting value, an 8 bit ending…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm spec-ing the suitability of a microcontroller like PIC for an analog-to-digital application. This would be preferable to using external A/D chips.
To do that, I've had to run through some computations, pulling the relevant parameters from the datasheets. I'm not sure I've got it right -- would…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm spec-ing the suitability of a dsPIC microcontroller for an analog-to-digital application. This would be preferable to using dedicated A/D chips and a separate dedicated DSP chip.
To do that, I've had to run through some computations, pulling the relevant parameters from the datasheets. I'm…
>>> More