I'll be glad if it's useful to someone :)
Hello! I want to share a small example of working with a thermocouple on the MAX6675. I used hardware SPI and dynamic indication on a seven-segment indicator. I assembled a device for measuring the temperature in the oven. 'Chip settings #chip 16LF1829, 16 #config Osc = Int SPIMode MasterSlow DIM Temperature as Word ' Temperature value from thermocouple DIM SegmentsBuffer(3) as Byte ' Symbol buffer for display on the indicator DIM Symbols(13) ' Character values from 0 to 9, empty, E, r Symbols...
Thanks, I was stupid
Hello! PPS Tool does not display all files that are located in the devices folder. Specifically, I need PIC16LF1829_description.xml . If I leave only this file in the folder, then writes - no xml found
OK :-)
I have a lot of them, soldered from old devices. I make them animated snowflakes, so as not to throw. Their capabilities in this task is enough.
Yes, simulators are evil. Provoke stupid posts on the forum :) I Write a program, and the prototype is not ready yet, so I decided to use the simulator. He caused trouble. Once again, thank you very much for your response.
This code does not work in the simulator #chip 16f716, 20 dir PORTA out dir PORTB out dim Bug as Byte 'Step 1 Work Set PortB.0 on PORTA = b'00000001' repeat 4 Rotate PORTA Left Simple wait 500 ms end repeat ' Step 2 Not Work Set PortB.1 on PORTA = b'00010000' repeat 4 Rotate PORTA Right Simple wait 500 ms end repeat ' Step 3 Work Set PortB.2 on PORTA = b'00010000' Bug = PORTA repeat 4 Rotate Bug Right Simple PORTA = Bug wait 500 ms end repeat https://youtu.be/uP5JungwQqU