Hm... you might be right. I completely over looked that. Let's see if it works!
Type: Posts; User: The Altruist; Keyword(s):
Hm... you might be right. I completely over looked that. Let's see if it works!
I'm working on a project where I'm using a PIC18F14K50 to drive a Hittite HMC704LP4E frequency synthesizer via SPI in HMC Mode. I'm trying to make sense of the Hittite documentation. Am I...
Using PBP3 Gold on Low Pin Count USB Dev Kit (PIC18F14k50). I'm using the vanilla HID code with minor changes to PID/MFR/Device Name.
I followed the code from here:...
For those of you wondering, this algorithm gives decently accurate 10-bit ratios with a Big O of (n^2). I hope some one finds it useful.
Bear in mind that the Numerator MUST be smaller than the...
While I have your attention, I'm puzzling over how to efficiently do a 10-bit by 10-bit division (which will yield a value 0<x<1) then multiply it again by 1023 to get a number (0<=x<=1023). I'd...
Hm.... false alarm. The DAC chip was bad.
We have it (or at least a simple saw tooth wave demo) working now:
;@ __CONFIG _HS_OSC & _WDT_OFF
DEFINE OSC 20
DEFINE I2C_SLOW 1
Actually, that's something I had not considered.
Let me go do some research, and I'll get back with an answer to that.
This is a trimmed down version of my code. And frankly, nothing is working. I'm not a hardware guy, so I can't tell if my setup is wired wrong. The guy I work with put it together for me. He's a...
I'm trying to send an I2C message to a non-EEPROM. Now everyone may laugh and say "So what's the problem?"
Every I2C example I've seen written is for EEPROMs. The I2C_WRITE command seems built...
I'm trying to use inline Assembler, but I use multiple arrays which means I need to address multiple banks. How can I tell which bank a given array is stored in?
Also, I'm not certain how you mean...
Thank you very much! I'm surprised I didn't think of that.
Now comes the next question.
Is there a "banksel" function equivalent in PM assembler?
This may have been covered elsewhere, but I'm having trouble figuring out how to access the High and Low Bytes of 16-bit Words in Assembler. I know I can point the FSR register at the _Variable to...
I'm trying to compile PBP code in MPLAB to use with my ICD2. And it breaks.
I dig through things, yank -oq and add -v and get this:
Executing: "C:\Dev\PIC\PBP\PBPW.EXE" -ampasmwin -z -v ...