Search found 185 matches
- Sat Jul 14, 2018 8:51 am
- Forum: General
- Topic: PICkit 2 on Win10 64 Bit?
- Replies: 14
- Views: 17950
PICkit 2 on Win10 64 Bit?
Has anybody been successful in getting a PICkit 2 and the GUI to run on Win10? The GUI seems to run, but as soon as you try to load a hex file for even older chips, the response is immediately: Device Error - File Not Loaded The GUI is v2.61, the device file is the latest version - I initially thoug...
- Tue Jun 26, 2018 8:30 pm
- Forum: General
- Topic: Hi and stuff
- Replies: 4
- Views: 5565
Re: Hi and stuff
Not so old! Sometimes a touch cranky, usually with good reasonLittle_Ghost wrote:
The main issue is going to be me! I need to get upto speed on swordfish basic, being old, cranky, bad eyes, bad temper and worn out. This might not be easy .
- Tue Aug 15, 2017 12:32 pm
- Forum: General
- Topic: Shifting In 40 Bits at 10 MHz
- Replies: 4
- Views: 5587
Re: Shifting In 40 Bits at 10 MHz
Thanks Jerry. I'll post more when I have solid info.
Jon
Jon
- Tue Aug 15, 2017 12:55 am
- Forum: General
- Topic: Shifting In 40 Bits at 10 MHz
- Replies: 4
- Views: 5587
Re: Shifting In 40 Bits at 10 MHz
Sorry, I left out a few details that I know. There is a clock signal synchronized with the data stream. I don't know if the clock signal is continuous or available only when data is available. There is also an enable signal that allows the system to clock out the 40 data bits This should function as...
- Mon Aug 14, 2017 5:06 pm
- Forum: General
- Topic: Shifting In 40 Bits at 10 MHz
- Replies: 4
- Views: 5587
Shifting In 40 Bits at 10 MHz
A simple project I agreed to do has turned more complicated. I need to read 40 bits clocked out at 10 MHz. I'm using a PIC18F25k22 with a 16 MHz crystal and 4xPLL enabled for a clock speed of 64 MHz. My first thought was to use shift.bas. Is there any chance this will work at 10 MHz? If it does work...
- Tue Mar 07, 2017 11:13 am
- Forum: User Modules
- Topic: SSD1306 I2C driver
- Replies: 31
- Views: 43037
Re: SSD1306 I2C driver
Yeah, there's not much to go on in that listing, not even the address but fortunately, the default in your code worked for that. I saw these on YouTube and bought them to play with...so there's nothing waiting on them. Another video gives a particular Arduino drive to that gives good results - I'll ...
- Tue Mar 07, 2017 7:40 am
- Forum: User Modules
- Topic: SSD1306 I2C driver
- Replies: 31
- Views: 43037
Re: SSD1306 I2C driver
The ebay ad should be attached.
The specs are:
I2C 0.91" 128x32 White/Blue OLED LCD Display Module For Arduino PIC
Features:
Driver IC: SSD1306
Size: 0.91 inch OLED
Resolution: 128 x 32
Font Color: white
Voltage: DC 3.3-5V
The specs are:
I2C 0.91" 128x32 White/Blue OLED LCD Display Module For Arduino PIC
Features:
Driver IC: SSD1306
Size: 0.91 inch OLED
Resolution: 128 x 32
Font Color: white
Voltage: DC 3.3-5V
- Sun Mar 05, 2017 12:42 pm
- Forum: User Modules
- Topic: SSD1306 I2C driver
- Replies: 31
- Views: 43037
Re: SSD1306 I2C driver
Thanks for the thoughts Gavin. The driver works perfectly, on the bottom half of the display. Even as the demo program scrolls text across the screen, only the bottom half displays anything. It looks like the vertical size parameter must be using only half the display.
- Fri Mar 03, 2017 4:53 pm
- Forum: User Modules
- Topic: SSD1306 I2C driver
- Replies: 31
- Views: 43037
Re: SSD1306 I2C driver
I got a bunch of 132 x 32 OLED displays with this driver. RangerBob's SSD1306 module and demo code work great...except the output is only on the bottom half the display! I'm kind of (totally) lost looking through the driver module. I did find Max_Height and Max_Width constants and tried changing tho...
- Thu Dec 29, 2016 5:31 pm
- Forum: Compiler
- Topic: I2C EEPROM Confusion
- Replies: 4
- Views: 3884
Re: I2C EEPROM Confusion
Yay. SetAllDigital brought the test program to life!
Now I can move on to figuring out what I'm doing. I want to write and read 5 bytes of data at a time - a LongWord timestamp and a byte of data. This shouldn't be hard
Now I can move on to figuring out what I'm doing. I want to write and read 5 bytes of data at a time - a LongWord timestamp and a byte of data. This shouldn't be hard
- Thu Dec 29, 2016 4:01 pm
- Forum: Compiler
- Topic: I2C EEPROM Confusion
- Replies: 4
- Views: 3884
Re: I2C EEPROM Confusion
Good catch about the analog pins. My original program covers that but in my simplified version to test, I omitted the SetAllDigital command.
I forgot to mention pullups in my original post. 4k7 on SDA and SCL.
I forgot to mention pullups in my original post. 4k7 on SDA and SCL.
- Thu Dec 29, 2016 7:51 am
- Forum: Compiler
- Topic: I2C EEPROM Confusion
- Replies: 4
- Views: 3884
I2C EEPROM Confusion
I am trying to write/read a 24LC64 EEPROM using a PIC18F25k22 and managing to get nowhere, even using sample code provided with Swordfish. I'm using the 8 pin EEPROM package, with the 3 address pins and the WP pin connected to ground. That makes the address %10100000 = $A0 = 160. In the sample progr...
- Mon Dec 19, 2016 8:21 pm
- Forum: Modules
- Topic: USART Module with 18F26k22 and PLL Enabled
- Replies: 3
- Views: 5165
Re: USART Module with 18F26k22 and PLL Enabled
In this case, setting BRGH and BRG16 did the trick. I'll work on a more universal solution and have a look for your updated USART module. Thanks Jerry! Any feelings on overclocking 18F26K22s to 80MHz? It seems to work but it doesn't seem like best practice, especially for something that may operate ...
- Mon Dec 19, 2016 5:42 am
- Forum: Modules
- Topic: USART Module with 18F26k22 and PLL Enabled
- Replies: 3
- Views: 5165
USART Module with 18F26k22 and PLL Enabled
For a project I'm working on, the 4x increase in speed with the PLL enabled will be beneficial. I had it enabled with a 20MHz crystal, overclocking the PIC to 80MHz and everything seemed to work fine. Everything until the USART. Even dropping back to a 12MHz crystal (I don't have any 16MHz on hand),...
- Mon Nov 21, 2016 9:05 pm
- Forum: IDE
- Topic: Swordfish Has Become Unreliable on my Computer
- Replies: 4
- Views: 5206
Re: Swordfish Has Become Unreliable on my Computer
Somehow the recovery feature wasn't on on my PC. Windows 8.1 does have a "refresh" feature that fairly quickly resets the computer to as-new settings without deleting files. Programs do have to be re-installed however. I did that this morning. The first thing I installed was Chrome. The next Swordfi...