Ah, in that case I'd suggest scaled integer math.
Or, if the inputs will always fall within a certain expected range a lookup-table would be faster depending upon your desired degree of accuracy.
Can you give some more specific examples of the code/operation you're attempting to perform/solve?
Search found 139 matches
- Wed Feb 27, 2013 6:08 pm
- Forum: Compiler
- Topic: 64 bit arithmetic
- Replies: 8
- Views: 5264
- Wed Feb 27, 2013 5:38 pm
- Forum: Compiler
- Topic: 64 bit arithmetic
- Replies: 8
- Views: 5264
- Tue Feb 12, 2013 5:58 pm
- Forum: IDE
- Topic: ubuntu wine
- Replies: 3
- Views: 5767
- Sun Feb 10, 2013 6:34 pm
- Forum: General
- Topic: pic to pic communication
- Replies: 1
- Views: 2026
- Sat Jan 26, 2013 4:04 am
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
- Wed Jan 23, 2013 8:23 pm
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
- Wed Jan 23, 2013 8:22 pm
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
There's a (crummy) piece of software called (I think) DRU-II Config. If you get it, it serial comms to/from the radar and can be used to change the settings. I'd actually written a module for changing the radar settings, but that external drive is in storage (I recently moved to Cali) and will conti...
- Fri Jan 04, 2013 10:26 pm
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
- Thu Dec 20, 2012 10:11 pm
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
The radar is a DRU-III (directional radar unit 3) from Decatur, features configurable serial output. Sadly, no project page, as it was work-for-hire for RU2 Systems, and they've chosen not to share. However, I'll be glad to answer questions. The VMS display is driven by 20 18F2520 chips. They are al...
- Wed Dec 05, 2012 3:34 pm
- Forum: General
- Topic: An all-PIC project. aka Braggart Thread.
- Replies: 9
- Views: 5854
An all-PIC project. aka Braggart Thread.
I realize this has been up for a couple years, and it just recently occurred to me to share it here... http://youtu.be/M8DERzTSpK0 What you're seeing there is a VMS (Variable Message Sign) with functions entirely via numerous PIC18's, all of which were coded (*by me!*) in Swordfish. I attribute a gr...
- Wed Nov 14, 2012 4:44 pm
- Forum: General
- Topic: No Noose is good noose?
- Replies: 7
- Views: 4063
- Wed Nov 14, 2012 4:42 pm
- Forum: General
- Topic: RFID reader checksum problem
- Replies: 11
- Views: 6220
- Wed Nov 14, 2012 4:33 pm
- Forum: General
- Topic: RFID reader checksum problem
- Replies: 11
- Views: 6220
Ascii 2 (start of text) and binary 2 are the same value. Ascii 3 (end of text) and binary 3 are the same value. (etc) Try it the way I described, far simpler, same data. STX (Hex) = 2 (Header) Data (Hex) = 0X04 0X15 0XAF 0X79 0X41 'from original post example 'decimal data = {4, 21, 175, 121, 65} 'de...