![]() ![]() #include "lcd.h" //#include "My_Function.h" #include "mcc_generated_files/pin_manager.h" // declared OUTPUT=0,INPUT=1 According to the 'Chinglish' data sheet, one has to send the following data commands to the chip: START - 0x40 - (for automatic data incrementing) - STOP START - 0xc0 - (first digit - second digit - third digit - fourth digit - fifth digit - sixth digit) - STOP START - 0x87 - (display intensity) - STOP I'm attaching a cleaned up copy of the code - please don't laugh program.txt program.txt. If someone could send me a simple bit banging I2C program - in assembly language, please - for the 16F (series), I'd be most appreciative. ![]() I'd hate to tell you how much evening time I've spent on this so far. I've tried inserting delay loops at key portions of the program, I've used the simulator and still 'no joy'. I've been using a (slightly modified) bit-banger written by Drew Vassallo and it doesn't work. I've been trying to write some I2C code that would let me control a (known good) TM1637 chip. Although I have a lot of experience with the Freescale product line, I'm relatively new with the PIC's. Canadian singer-songwriter The Weeknd is the first to wave bye-bye to H&M over their racist new product, Tweeting, woke up this morning shocked and. H&M is under fire for running a racist advertisement, and celebrities are weighing in with a vengeance. I wonder if someone could help me out with this. A racist ad for H&M has been pulled after celebrities tore the company to shreds. ![]() Interfacing the PIC16F628A with a TM1637 (Chinese) Multiplexed LED Display ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |