Author |
Message |
Topic: Need help with PS/2 keyboard code |
stevenm86
Replies: 3
Views: 6378
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2008 10:07 pm Subject: Need help with PS/2 keyboard code |
Wow, it certainly has been a while....
The LEDs on the keyboard blink?
They shouldn't... Are you sure the keyboard is hooked up correctly? Does it go to the right pins on your chip?
The only ... |
Topic: PS/2 keyboard driver/decoder, interrupt driven, 16F and up |
stevenm86
Replies: 14
Views: 135611
|
Forum: Code Library Posted: Sat Jul 08, 2006 8:03 pm Subject: PS/2 keyboard driver/decoder, interrupt driven, 16F and up |
Hello.
I have written a nice PS/2 keyboard driver for the PIC. This reads data from a PS/2 keyboard, decodes it, and makes it available to whatever needs it. It decodes the scancodes, tracks shift ... |
Topic: gps logger .... which type of memeory should be used.. |
stevenm86
Replies: 22
Views: 27498
|
Forum: General CCS C Discussion Posted: Thu Jun 15, 2006 12:08 pm Subject: gps logger .... which type of memeory should be used.. |
You don't need FAT or FAT32 implementation. Way too much work. Just write the data to the device raw, seqentially, as if it is one giant block of eeprom. Then you can retrieve the data one of several ... |
Topic: gps logger .... which type of memeory should be used.. |
stevenm86
Replies: 22
Views: 27498
|
Forum: General CCS C Discussion Posted: Mon Jun 12, 2006 4:46 pm Subject: gps logger .... which type of memeory should be used.. |
Woops, posted the code in the forum on the link above instead of this one. Look at the last post there... |
Topic: compacting floating point numbers |
stevenm86
Replies: 8
Views: 17161
|
Forum: General CCS C Discussion Posted: Mon Jun 12, 2006 4:19 pm Subject: compacting floating point numbers |
Hello.
You dont need to store so much stuff. You can store lat or lon as a 32bit int. The int has a fractional part. Ie, it stores data in 1/10000000ths of a degree. Just pretend there's a decimal p ... |
Topic: gps logger .... which type of memeory should be used.. |
stevenm86
Replies: 22
Views: 27498
|
Forum: General CCS C Discussion Posted: Mon Jun 12, 2006 12:59 pm Subject: gps logger .... which type of memeory should be used.. |
Why log it every 2 seconds? And why log the whole message?
Write an NMEA parser (i am making one now) to pull out the lat/lon/ground speed. It works if you store it as 32-bit fractionals converterd ... |
Topic: MD5 on PIC18? |
stevenm86
Replies: 8
Views: 9574
|
Forum: General CCS C Discussion Posted: Sun Jun 11, 2006 11:31 pm Subject: MD5 on PIC18? |
Right.
The MD5 spec calls for some trig stuff multiplied by 2^32, and the largest thing you can represent in 32 bits is 2^32-1. If we could get fractional trig going, it would be nice... definitely a ... |
Topic: MD5 on PIC18? |
stevenm86
Replies: 8
Views: 9574
|
Forum: General CCS C Discussion Posted: Sun Jun 11, 2006 9:49 pm Subject: MD5 on PIC18? |
Yes, I have inserted a printf statement to PRINT OUT D, C, B, and A, in that order, formatted as 32bitlong integers to be printed in hexadecimal format.
The chip just keeps restarting.
Has ANYON ... |
Topic: MD5 on PIC18? |
stevenm86
Replies: 8
Views: 9574
|
Forum: General CCS C Discussion Posted: Sun Jun 11, 2006 7:37 pm Subject: MD5 on PIC18? |
What?
I think there's something wrong...
I put the code on a PIC18, put a printf in the beginning that says something like "starting md5" and then at the end I put a printf that prints out the has ... |
Topic: MD5 on PIC18? |
stevenm86
Replies: 8
Views: 9574
|
Forum: General CCS C Discussion Posted: Sun Jun 11, 2006 11:43 am Subject: MD5 on PIC18? |
I have seen that. However, no luck.
The code is missing the last 4 rounds of encryption (which I filled in). I couldn't really figure out where to put the data. Regardless, the code does not actual ... |
Topic: MD5 on PIC18? |
stevenm86
Replies: 8
Views: 9574
|
Forum: General CCS C Discussion Posted: Sun Jun 11, 2006 2:40 am Subject: MD5 on PIC18? |
Hello.
Has anyone got a PCH (PIC18) implementation of the MD5 algorithm? Size is not a problem, I have 32kb of flash available, and the program does not need to do much else.
Any takers? |
|