Search found 6 matches

by wanggaoteng
Tue 2023-08-01 10:28
Forum: Simulation
Topic: The 28 pins atmega328p doesn't exist
Replies: 2
Views: 756

Re: The 28 pins atmega328p doesn't exist

Ettore wrote: Mon 2023-07-31 9:52 Double left click on the ATMEGA328P part and select the PCB Package from QFP 32 pins ...
Immagine 2023-07-31 114610.jpg

and change it to SPDIL28.

Immagine 2023-07-31 114747.jpg
Oh, it's there.
Thanks you very much.
Best regards.
by wanggaoteng
Sun 2023-07-30 1:53
Forum: Simulation
Topic: The 28 pins atmega328p doesn't exist
Replies: 2
Views: 756

The 28 pins atmega328p doesn't exist

When I'm reading the blog "How Bootloaders Work", https://www.labcenter.com/blog/sim-bootloaders/ The blog provides a demo, which contains a mcu named "ATMEGA328P", as the attachments named 1.png shows, it is 28 pins. But this 28 pins atmega328p doesn't exist in the library, ther...
by wanggaoteng
Tue 2017-05-30 13:22
Forum: Simulation
Topic: A bug of the bit REN of SCON?
Replies: 1
Views: 415

A bug of the bit REN of SCON?

Hi, the codes following are a simple test of the position of REN, it seems a bug of REN of the SCON? #include <reg52.h> #define uchar unsigned char #define uint unsigned int uchar code table[]="I get "; uchar flag,a; void delay(uint x) { unsigned char i; while(x--) for(i=0;i<120;i++); } vo...
by wanggaoteng
Sat 2017-05-27 1:33
Forum: Simulation
Topic: How to simulate the arduino program step by step ?
Replies: 1
Views: 351

How to simulate the arduino program step by step ?

Hi, I want to simulate an arduino program using proteus, so the arduino program is: float value=1.1; void setup() { Serial.begin(9600); } void loop() { value=value-0.1; if(value==0) Serial.println("The value is exactly zero"); else if(almostEqual(value,0)) { Serial.print("The value &q...
by wanggaoteng
Mon 2016-06-27 10:43
Forum: Simulation
Topic: can ISIS simulate the watchdog of 8051?
Replies: 3
Views: 632

Re: can ISIS simulate the watchdog of 8051?

@David & Ettore
Thanks a lot.
Best regards.
by wanggaoteng
Mon 2016-06-27 4:06
Forum: Simulation
Topic: can ISIS simulate the watchdog of 8051?
Replies: 3
Views: 632

can ISIS simulate the watchdog of 8051?

Hi, I'm a beginner of 51, and I use proteus to do my homework. There is a litter program in my textbook, which used to illustrate the watchdog of the 51. The code is : #include<reg52.h> sfr WDTRST = 0xA6; sbit key = P3^0; void Rst_Watchdog( void ) { WDTRST = 0x1E; WDTRST = 0xE1; } void main( void ) ...