It was an ASCII 2.
I tried $32 and that worked. Thank you.
Type: Posts; User: BrianS; Keyword(s):
It was an ASCII 2.
I tried $32 and that worked. Thank you.
I am using PB3 and programming a 18F452. The code I am using waits for a "%" from HSERIN then grabs the next 4 characters and processes them. A "!" is sent and then a numeric value. Then a "?" is...
This code is written to choose between two time durations of 5 minutes and 30 seconds. A hardware switch is wired to RB4 which is pulled high. In one position the switch is open and the port is high....
I'm shifting out 24 bits. The device I writing to is a I/O portexpander MCP23S17 from microchip. I've tried the other methods and the portexpander does not respond to them. The only way to get it to...
This works for me
Shiftout SDO,SCK,Msbfirst,[WR_OPCODE_BYTE,IODIRA,$00\24]
but from what I'm seeing in the manual it is not correct. Also from looking on this forum it is not correct from what I...
Thanks,
Turns out it was the PC clock was updated by the time server during the period I was monitoring the timer. Found that the timer code/circuit keeps very accurate time for my needs.
Bryan
I'll try that. I don't have a manual way to sync the PC's clock to a time server as it is locked out and is updated by a local server. So, I don't know exactly when it's clock is updated to a time...
Using Darrel Taylor's Elapsed_INT-18.bas and running it over a period of 62 hours and 33 minutes the timer appears to be running fast by Approximately 5 minutes.
Could it be my 20 mhz clock is off...
Try this works great for me. Handles string to float conversions and can be connected to other microcontrollers. Also supports Picbasic Pro with examples.
...
Looks like a good solution. I tried it but it give an incorrect result on the third highest byte.
here a portion of the code.
rd_addr2 var long
rd_addr2 = $01FE
Readout_Strings:
gosub...
I am using a atmel AT45DB161D serial eeprom and need to do a continious memory read.
I am programming a pic 18f4620.
This is the code the format of the 21 bits I need to send.
I would need to...
It is used in C:\PBP\PBPPI18L.LIB but does not seem to be declared as a var in that file.
My chip is a 18f4620.
This is basically the code (Below) I am trying to use. It did work just a few days ago but now is compiling with the error I had listed.
Really I am only posting the part...
I'm using the code below. I am keep receiving these errors and can't figure out why. It did work before for me but now doesn't. Any help would be greatly appreciated. I'm using the latest version of...